Info
Version: | 1.0.0.11 |
Author(s): | Daniel Cazzulino, kzu, Clarius |
Last Update: | Wednesday, March 6, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://netfx.codeplex.com/ |
NuGet Url: | https://www.nuget.org/packages/netfx-Reflector |
Install
Install-Package netfx-Reflector
dotnet add package netfx-Reflector
paket add netfx-Reflector
netfx-Reflector Download (Unzip the "nupkg" after downloading)
Dependencies
- netfx-Guard(>= 1.3.2)
Tags
// Void static method
MethodInfo cw = Reflect.GetMethod(
() => Console.WriteLine);
// Instance void method
MethodInfo mi =
Reflect<IView>.GetMethod(v => v.Show);
// Boolean returning instance method
MethodInfo pi = Reflect<IViewModel>
.GetMethod<bool>(v => v.Save);.