Enum LifeTime
enum for selecting the DI service lifetime
Namespace: FastEndpoints
Assembly: FastEndpoints.Attributes.dll
Syntax
public enum LifeTime
Fields
Name | Description |
---|---|
Scoped | scoped service lifetime |
Singleton | singleton service lifetime |
Transient | transient service lifetime |