MethodAccessorInvokeStaticActionT(T) Method

Invokes a static action method with one parameter. If the type of the parameter is not known at compile time the non-generic Invoke methods can be used.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public void InvokeStaticAction<T>(
	T param
)

Parameters

param  T
The value of the parameter.

Type Parameters

T
The type of the parameter.

Exceptions

NotSupportedExceptionThis MethodAccessor represents a method with more than four parameters.
InvalidOperationExceptionThis MethodAccessor represents an instance method, an open generic method or a method of an open generic type.
ArgumentExceptionThe number or types of the type arguments are invalid.

See Also