MethodAccessorInvokeInstanceActionTInstance, T(TInstance, T) Method
Invokes an instance action method with one parameter in a value type. If the type of the parameter 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, T>(
in TInstance instance,
T param
)
where TInstance : struct, new()
Public Sub InvokeInstanceAction(Of TInstance As {Structure, New}, T) (
ByRef instance As TInstance,
param As T
)
public:
generic<typename TInstance, typename T>
where TInstance : value class, gcnew()
void InvokeInstanceAction(
[InAttribute] TInstance% instance,
T param
)
member InvokeInstanceAction :
instance : 'TInstance byref *
param : 'T -> unit when 'TInstance : struct, new()
- instance TInstance
- The instance that the method belongs to.
- param T
- The value of the parameter.
- TInstance
- The type of the instance that declares the method.
- T
- The type of the parameter.