Class MicrosoftDependencyInjectionCommandingResolver
Inheritance
System.Object
MicrosoftDependencyInjectionCommandingResolver
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.MicrosoftDependencyInjection.dll
Syntax
[Obsolete("Please use MicrosoftDependencyInjectionCommandingResolverAdapter instead")]
public class MicrosoftDependencyInjectionCommandingResolver : IMicrosoftDependencyInjectionCommandingResolver, ICommandingDependencyResolver
Constructors
|
Improve this Doc
View Source
MicrosoftDependencyInjectionCommandingResolver(IServiceCollection)
Declaration
public MicrosoftDependencyInjectionCommandingResolver(IServiceCollection serviceCollection)
Parameters
| Type |
Name |
Description |
| Microsoft.Extensions.DependencyInjection.IServiceCollection |
serviceCollection |
|
Properties
|
Improve this Doc
View Source
AssociatedCommandingRuntime
Declaration
public ICommandingRuntime AssociatedCommandingRuntime { get; set; }
Property Value
|
Improve this Doc
View Source
Registry
Declaration
public ICommandRegistry Registry { get; }
Property Value
|
Improve this Doc
View Source
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
| Type |
Description |
| System.IServiceProvider |
|
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