Class Lambda
- Namespace
- Xarial.XToolkit.Reflection
- Assembly
- BlueByte.SOLIDWORKS.PDMProfessional.SDK.dll
public static class Lambda
- Inheritance
-
Lambda
- Inherited Members
Methods
InvokeGenericMethod(Expression<Action>, params Type[])
Invokes generic method by supplying the type arguments
public static object InvokeGenericMethod(Expression<Action> method, params Type[] typeArguments)
Parameters
method
Expression<Action>Method body to invoke
typeArguments
Type[]Type arguments
Returns
Remarks
Method body within expression must only contain constant values or variables (no expression). Use cast to match the parameter type (actual cast wil lnot be called)