SingletonDependencyResolver<T> Constructor
Constructs a new resolver that will return the given instance for the contract type regardless of the key passed to the Get method.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | SingletonDependencyResolver<T>(T) | Constructs a new resolver that will return the given instance for the contract type regardless of the key passed to the Get method. |
![]() | SingletonDependencyResolver<T>(T, Func<Object, Boolean>) | Constructs a new resolver that will return the given instance for the contract type if the given key matches the key passed to the Get method based on the given predicate. |
![]() | SingletonDependencyResolver<T>(T, Object) | Constructs a new resolver that will return the given instance for the contract type if the given key matches exactly the key passed to the Get method. |
SingletonDependencyResolver<T> Constructor (T)
Constructs a new resolver that will return the given instance for the contract type regardless of the key passed to the Get method.
SingletonDependencyResolver<T> Constructor (T, Func<Object, Boolean>)
Constructs a new resolver that will return the given instance for the contract type if the given key matches the key passed to the Get method based on the given predicate.
SingletonDependencyResolver<T> Constructor (T, Object)
Constructs a new resolver that will return the given instance for the contract type if the given key matches exactly the key passed to the Get method.