CreateInstanceAccessorGetAccessor(Type) Method

Gets a CreateInstanceAccessor for the specified Type. Given type must have a parameterless constructor or must be a ValueType.

Definition

Namespace: KGySoft.Reflection
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static CreateInstanceAccessor GetAccessor(
	Type type
)

Parameters

type  Type
A Type for which the accessor should be retrieved.

Return Value

CreateInstanceAccessor
A CreateInstanceAccessor instance that can be used to create an instance of type.

See Also