Enum Lifetime
Specifies the lifetime of a registered instance.
Namespace: Umbraco.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public enum Lifetime
Fields
Name | Description |
---|---|
Request | One unique instance per request. |
Scope | One unique instance per scope. |
Singleton | One unique instance per container. |
Transient | Always get a new instance. |