Otter SDK Reference
Version:

GetFactory<T> Method

Returns a factory method that can be used to create an instance of the type <typeparamref name="T" />.

Syntax

public static Func<T> GetFactory<T>()

Returns

Factory method that can be used to create an instance of the specified type.