Info
Version: | 1.0.0 |
Author(s): | Shayne van Asperen |
Last Update: | Tuesday, March 17, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/shaynevanasperen/Quarks |
NuGet Url: | https://www.nuget.org/packages/Quarks.TypeExtensions.InvokeGenericMethod |
Install
Install-Package Quarks.TypeExtensions.InvokeGenericMethod
dotnet add package Quarks.TypeExtensions.InvokeGenericMethod
paket add Quarks.TypeExtensions.InvokeGenericMethod
Quarks.TypeExtensions.InvokeGenericMethod Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
eg.
If a method's signature is: void MyMethod<T>() you can use InvokeGenericMethod(instance, runtimeType, "MyMethod") to invoke it with any type.