CreateInstanceAccessorCreateInstanceTInstance, T(T) Method
Creates a new instance using the associated constructor with one parameter.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public TInstance CreateInstance<TInstance, T>(
T param
)
Public Function CreateInstance(Of TInstance, T) (
param As T
) As TInstance
public:
generic<typename TInstance, typename T>
TInstance CreateInstance(
T param
)
member CreateInstance :
param : 'T -> 'TInstance
- param T
- The value of the parameter.
- TInstance
- The type of the created instance.
- T
- The type of the parameter.
TInstanceThe created instance.