CreateInstanceAccessorGetAccessor(ConstructorInfo) Method

Gets a CreateInstanceAccessor for the specified ConstructorInfo.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public static CreateInstanceAccessor GetAccessor(
	ConstructorInfo ctor
)

Parameters

ctor  ConstructorInfo
The constructor for which the accessor should be retrieved.

Return Value

CreateInstanceAccessor
A CreateInstanceAccessor instance that can be used to create an instance by the constructor.

See Also