Class DependencyContainerResolveOptions
Resolution settings.
Inherited Members
Namespace: Swan.DependencyInjection
Syntax
public class DependencyContainerResolveOptions
Properties
ConstructorParameters
Gets the constructor parameters.
Declaration
public Dictionary<string, object> ConstructorParameters { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, Object> | The constructor parameters. |
Default
Gets the default options (attempt resolution of unregistered types, fail on named resolution if name not found).
Declaration
public static DependencyContainerResolveOptions Default { get; }
Property Value
Type | Description |
---|---|
DependencyContainerResolveOptions |
NamedResolutionFailureAction
Gets or sets the named resolution failure action.
Declaration
public DependencyContainerNamedResolutionFailureAction NamedResolutionFailureAction { get; set; }
Property Value
Type | Description |
---|---|
DependencyContainerNamedResolutionFailureAction | The named resolution failure action. |
UnregisteredResolutionAction
Gets or sets the unregistered resolution action.
Declaration
public DependencyContainerUnregisteredResolutionAction UnregisteredResolutionAction { get; set; }
Property Value
Type | Description |
---|---|
DependencyContainerUnregisteredResolutionAction | The unregistered resolution action. |
Methods
Clone()
Clones this instance.
Declaration
public DependencyContainerResolveOptions Clone()
Returns
Type | Description |
---|---|
DependencyContainerResolveOptions |