Enum DependencyLifetime
Used to determine a services lifetime
Namespace: OpenAPI.Plugins
Assembly: OpenAPI.dll
Syntax
public enum DependencyLifetime : int
Fields
| Name | Description |
|---|---|
| Singleton | Keep 1 instance throughout the service lifetime |
| Transient | Create a new instance everytime it is requested |