Class CommandingDependencyResolver
Inheritance
System.Object
CommandingDependencyResolver
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
[Obsolete("This will be deprecated in a future version, please use CommandingDependencyResolverAdapter instead")]
public class CommandingDependencyResolver : ICommandingDependencyResolver
Constructors
|
Improve this Doc
View Source
CommandingDependencyResolver(Action<Type, Object>, Action<Type, Type>, Func<Type, Object>)
Declaration
public CommandingDependencyResolver(Action<Type, object> registerInstance, Action<Type, Type> typeMapping, Func<Type, object> resolve)
Parameters
| Type |
Name |
Description |
| System.Action<System.Type, System.Object> |
registerInstance |
|
| System.Action<System.Type, System.Type> |
typeMapping |
|
| System.Func<System.Type, System.Object> |
resolve |
|
Properties
|
Improve this Doc
View Source
AssociatedCommandingRuntime
Declaration
public ICommandingRuntime AssociatedCommandingRuntime { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
RegisterInstance<TType>(TType)
Declaration
public ICommandingDependencyResolver RegisterInstance<TType>(TType instance)
Parameters
| Type |
Name |
Description |
| TType |
instance |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Resolve(Type)
Declaration
public object Resolve(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
Resolve<TType>()
Declaration
public TType Resolve<TType>()
Returns
Type Parameters
|
Improve this Doc
View Source
TypeMapping(Type, Type)
Declaration
public ICommandingDependencyResolver TypeMapping(Type type, Type impl)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
| System.Type |
impl |
|
Returns
|
Improve this Doc
View Source
TypeMapping<TType, TImpl>()
Declaration
public ICommandingDependencyResolver TypeMapping<TType, TImpl>()
where TImpl : TType
Returns
Type Parameters
| Name |
Description |
| TType |
|
| TImpl |
|
Implements
Extension Methods