Click or drag to resize

ResolutionValueExtensions Class

Adds syntactic convenience methods to the IComponentContext interface, specifically to support value types in the nullable reference scenario.
Inheritance Hierarchy
SystemObject
  AutofacResolutionValueExtensions

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public static class ResolutionValueExtensions

The ResolutionValueExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberResolveOptionalTService(IComponentContext)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalTService(IComponentContext, Parameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalTService(IComponentContext, IEnumerableParameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalKeyedTService(IComponentContext, Object)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalKeyedTService(IComponentContext, Object, Parameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalKeyedTService(IComponentContext, Object, IEnumerableParameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalNamedTService(IComponentContext, String)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalNamedTService(IComponentContext, String, Parameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberResolveOptionalNamedTService(IComponentContext, String, IEnumerableParameter)
Retrieve a service from the context, or null if the service is not registered.
Public methodStatic memberTryResolveT
Try to retrieve a service from the context.
Top
See Also