Class ServiceOptions
- Assembly
- Cuemon.Extensions.DependencyInjection.dll
Configuration options for Microsoft Dependency Injection.
public class ServiceOptions : IParameterObject
- Inheritance
-
ServiceOptions
- Implements
- Derived
- Extension Methods
Constructors
ServiceOptions()
Initializes a new instance of the ServiceOptions class.
public ServiceOptions()
Remarks
The following table shows the initial property values for an instance of ServiceOptions.
Property | Initial Value |
---|---|
Lifetime | Transient |
Properties
Lifetime
Gets or sets the lifetime of the service to add.
public ServiceLifetime Lifetime { get; set; }
Property Value
- ServiceLifetime
The lifetime of the service.