MethodAccessorInvokeInstanceActionTInstance(TInstance) Method
Invokes a parameterless instance action method in a reference type. If the type of the declaring instance
is 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>(
TInstance instance
)
where TInstance : class
Public Sub InvokeInstanceAction(Of TInstance As Class) (
instance As TInstance
)
public:
generic<typename TInstance>
where TInstance : ref class
void InvokeInstanceAction(
TInstance instance
)
member InvokeInstanceAction :
instance : 'TInstance -> unit when 'TInstance : not struct
- instance TInstance
- The instance that the method belongs to.
- TInstance
- The type of the instance that declares the method.