MethodAccessorInvokeInstanceActionTInstance, T1, T2(TInstance, T1, T2) Method
Invokes an instance action method with two parameters in a reference type. If the type of the parameters or the declaring instance
are not known at compile time the non-generic
Invoke methods can be used.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public void InvokeInstanceAction<TInstance, T1, T2>(
TInstance instance,
T1 param1,
T2 param2
)
where TInstance : class
Public Sub InvokeInstanceAction(Of TInstance As Class, T1, T2) (
instance As TInstance,
param1 As T1,
param2 As T2
)
public:
generic<typename TInstance, typename T1, typename T2>
where TInstance : ref class
void InvokeInstanceAction(
TInstance instance,
T1 param1,
T2 param2
)
member InvokeInstanceAction :
instance : 'TInstance *
param1 : 'T1 *
param2 : 'T2 -> unit when 'TInstance : not struct
- instance TInstance
- The instance that the method belongs to.
- param1 T1
- The value of the first parameter.
- param2 T2
- The value of the second parameter.
- TInstance
- The type of the instance that declares the method.
- T1
- The type of the first parameter.
- T2
- The type of the second parameter.