Class ServiceEntryStates

Describes the actual state of an AbstractServiceEntry

Inheritance
System.Object
ServiceEntryStates
Namespace: Solti.Utils.DI.Interfaces
Assembly: Solti.Utils.DI.Interfaces.dll
Syntax
public sealed class ServiceEntryStates : Enum

Fields

Built

Indicates that the entry has already been built (meaning that the CreateInstance property is not null).

Declaration
public const ServiceEntryStates Built
Field Value
Type Description
ServiceEntryStates

Collected

The created instances are supposed to be disposed by the system.

Declaration
public const ServiceEntryStates Collected
Field Value
Type Description
ServiceEntryStates
Remarks

You may change collection behavior via the DisposalMode property.

Default

The default state.

Declaration
public const ServiceEntryStates Default
Field Value
Type Description
ServiceEntryStates

Instantiated

Indicates that the service had already been instantiated.

Declaration
public const ServiceEntryStates Instantiated
Field Value
Type Description
ServiceEntryStates

Validated

Indicates that the entry is validated so it can be instantiated.

Declaration
public const ServiceEntryStates Validated
Field Value
Type Description
ServiceEntryStates
Remarks

Validation includes circular dependency and strict DI violation checks

value__

Declaration
public int value__
Field Value
Type Description
System.Int32
In This Article
Back to top Generated by DocFX