GetFactory<T>()
Gets a delegate to a factory method that returns a UnknownObjectAccessor for an object of a type given as a generic parameter.
Declaration
public static Func<T, UnknownObjectAccessor> GetFactory<T>()
Returns
Type | Description |
---|---|
Func<T, UnknownObjectAccessor> | A delegate that takes the object as input and returns its UnknownObjectAccessor. |
Type Parameters
Name | Description |
---|---|
T | Type of the objects to be wrapped. It must be the final type (cannot be |
GetFactory(Type)
Gets a delegate to a factory method that returns a UnknownObjectAccessor for an object of a type given as a generic parameter.
Declaration
public static Func<object?, UnknownObjectAccessor> GetFactory(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the objects to be wrapped. It must be the final type (cannot be |
Returns
Type | Description |
---|---|
Func<object, UnknownObjectAccessor> | A delegate that takes the object as input and returns its UnknownObjectAccessor. |