of
Factory method that can be used to create an InstanceSupplier for a given instance.
Return
a new InstanceSupplier
Parameters
<T>
the instance type
instance
the instance
Factory method that can be used to create an InstanceSupplier for a given instance.
a new InstanceSupplier
the instance type
the instance