ResolutionExtensions Class |
Namespace: Autofac
The ResolutionExtensions type exposes the following members.
Name | Description | |
---|---|---|
InjectPropertiesTService(IComponentContext, TService) |
Set any properties on instance that can be
resolved in the context.
| |
InjectPropertiesTService(IComponentContext, TService, IPropertySelector) |
Set any properties on instance that can be resolved by service and that satisfy the
constraints imposed by propertySelector.
| |
InjectPropertiesTService(IComponentContext, TService, Parameter) |
Set any properties on instance that can be
resolved in the context.
| |
InjectPropertiesTService(IComponentContext, TService, IEnumerableParameter) |
Set any properties on instance that can be
resolved in the context.
| |
InjectPropertiesTService(IComponentContext, TService, IPropertySelector, Parameter) |
Set any properties on instance that can be resolved by service and that satisfy the
constraints imposed by propertySelector.
| |
InjectPropertiesTService(IComponentContext, TService, IPropertySelector, IEnumerableParameter) |
Set any properties on instance that can be resolved by service and that satisfy the
constraints imposed by propertySelector.
| |
InjectUnsetPropertiesTService(IComponentContext, TService) |
Set any null-valued properties on instance that can be
resolved by the container.
| |
InjectUnsetPropertiesTService(IComponentContext, TService, Parameter) |
Set any null-valued properties on instance that can be
resolved by the container.
| |
InjectUnsetPropertiesTService(IComponentContext, TService, IEnumerableParameter) |
Set any null-valued properties on instance that can be
resolved by the container.
| |
IsRegistered(IComponentContext, Type) |
Determine whether the specified service is available in the context.
| |
IsRegisteredTService(IComponentContext) |
Determine whether the specified service is available in the context.
| |
IsRegisteredService |
Determine whether the specified service is available in the context.
| |
IsRegisteredWithKey(IComponentContext, Object, Type) |
Determine whether the specified service is available in the context.
| |
IsRegisteredWithKeyTService(IComponentContext, Object) |
Determine whether the specified service is available in the context.
| |
IsRegisteredWithName(IComponentContext, String, Type) |
Determine whether the specified service is available in the context.
| |
IsRegisteredWithNameTService(IComponentContext, String) |
Determine whether the specified service is available in the context.
| |
Resolve(IComponentContext, Type) |
Retrieve a service from the context.
| |
Resolve(IComponentContext, Type, Parameter) |
Retrieve a service from the context.
| |
Resolve(IComponentContext, Type, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveTService(IComponentContext) |
Retrieve a service from the context.
| |
ResolveTService(IComponentContext, Parameter) |
Retrieve a service from the context.
| |
ResolveTService(IComponentContext, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveKeyed(IComponentContext, Object, Type) |
Retrieve a service from the context.
| |
ResolveKeyed(IComponentContext, Object, Type, Parameter) |
Retrieve a service from the context.
| |
ResolveKeyed(IComponentContext, Object, Type, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveKeyedTService(IComponentContext, Object) |
Retrieve a service from the context.
| |
ResolveKeyedTService(IComponentContext, Object, Parameter) |
Retrieve a service from the context.
| |
ResolveKeyedTService(IComponentContext, Object, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveNamed(IComponentContext, String, Type) |
Retrieve a service from the context.
| |
ResolveNamed(IComponentContext, String, Type, Parameter) |
Retrieve a service from the context.
| |
ResolveNamed(IComponentContext, String, Type, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveNamedTService(IComponentContext, String) |
Retrieve a service from the context.
| |
ResolveNamedTService(IComponentContext, String, Parameter) |
Retrieve a service from the context.
| |
ResolveNamedTService(IComponentContext, String, IEnumerableParameter) |
Retrieve a service from the context.
| |
ResolveOptional(IComponentContext, Type) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptional(IComponentContext, Type, Parameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptional(IComponentContext, Type, IEnumerableParameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalTService(IComponentContext) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalTService(IComponentContext, Parameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalTService(IComponentContext, IEnumerableParameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalKeyedTService(IComponentContext, Object) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalKeyedTService(IComponentContext, Object, Parameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalKeyedTService(IComponentContext, Object, IEnumerableParameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalNamedTService(IComponentContext, String) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalNamedTService(IComponentContext, String, Parameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalNamedTService(IComponentContext, String, IEnumerableParameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalService(IComponentContext, Service) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalService(IComponentContext, Service, Parameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveOptionalService(IComponentContext, Service, IEnumerableParameter) |
Retrieve a service from the context, or null if the service is not
registered.
| |
ResolveService(IComponentContext, Service) |
Retrieve a service from the context.
| |
ResolveService(IComponentContext, Service, Parameter) |
Retrieve a service from the context.
| |
ResolveService(IComponentContext, Service, IEnumerableParameter) |
Retrieve a service from the context.
| |
TryResolve(IComponentContext, Type, Object) |
Try to retrieve a service from the context.
| |
TryResolveT(IComponentContext, T) |
Try to retrieve a service from the context.
| |
TryResolveKeyed |
Try to retrieve a service from the context.
| |
TryResolveNamed |
Try to retrieve a service from the context.
| |
TryResolveService(IComponentContext, Service, Object) |
Try to retrieve a service from the context.
| |
TryResolveService(IComponentContext, Service, IEnumerableParameter, Object) |
Try to retrieve a service from the context.
|
Name | Description | |
---|---|---|
PropertyInjectedInstanceTypeNamedParameter |
The NamedParameter name, provided when properties are injected onto an existing instance.
|