CreateInstanceAccessorCreateInstanceTInstance, T1, T2(T1, T2) Method
Creates a new instance using the associated constructor with two parameters.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public TInstance CreateInstance<TInstance, T1, T2>(
T1 param1,
T2 param2
)
Public Function CreateInstance(Of TInstance, T1, T2) (
param1 As T1,
param2 As T2
) As TInstance
public:
generic<typename TInstance, typename T1, typename T2>
TInstance CreateInstance(
T1 param1,
T2 param2
)
member CreateInstance :
param1 : 'T1 *
param2 : 'T2 -> 'TInstance
- param1 T1
- The value of the first parameter.
- param2 T2
- The value of the second parameter.
- TInstance
- The type of the created instance.
- T1
- The type of the first parameter.
- T2
- The type of the second parameter.
TInstanceThe created instance.