Unosquare
    Show / Hide Table of Contents

    Class DependencyContainerResolveOptions

    Resolution settings.

    Inheritance
    Object
    DependencyContainerResolveOptions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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

    Comments

    Back to top Copyright © 2017-2019 Unosquare