Class ResolutionContext
Context information available during service resolution for conditional binding.
Inherited Members
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 |