docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResolutionContext

    Context information available during service resolution for conditional binding.

    Inheritance
    object
    ResolutionContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.MVVM
    Assembly: Unity.AppUI.MVVM.dll
    Syntax
    public class ResolutionContext

    Properties

    IsScoped

    Whether this resolution is happening in a scoped context.

    Declaration
    public bool IsScoped { get; }
    Property Value
    Type Description
    bool

    RequestingType

    The type that is requesting this service (if available).

    Declaration
    public Type RequestingType { get; }
    Property Value
    Type Description
    Type

    ServiceProvider

    The service provider performing the resolution.

    Declaration
    public IServiceProvider ServiceProvider { get; }
    Property Value
    Type Description
    IServiceProvider

    ServiceType

    The type being requested.

    Declaration
    public Type ServiceType { get; }
    Property Value
    Type Description
    Type
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)