Class CommandingDependencyResolver
Inheritance
System.Object
CommandingDependencyResolver
Assembly: AzureFromTheTrenches.Commanding.Abstractions.dll
Syntax
public class CommandingDependencyResolver : object, 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 |
Action<Type, System.Object> |
registerInstance |
|
Action<Type, Type> |
typeMapping |
|
Func<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 |
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 |
Type |
type |
|
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