Class MethodProvider
Provides an instance using the _funcProvider method injected in the constructor.
Inheritance
MethodProvider
Assembly: cs.temp.dll.dll
Syntax
public class MethodProvider : IProvider
Constructors
MethodProvider(Type, Func<Object>)
Declaration
public MethodProvider(Type contractType, Func<object> funcProvider)
Parameters
Fields
_contractType
Declaration
protected readonly Type _contractType
Field Value
_funcProvider
Declaration
protected readonly Func<object> _funcProvider
Field Value
Properties
contractType
Declaration
public virtual Type contractType { get; }
Property Value
wasCached
Declaration
public virtual bool wasCached { get; }
Property Value
Methods
GetInstance()
Declaration
public virtual object GetInstance()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements