Table of Contents

Class ServiceOptions

Namespace
Cuemon.Extensions.DependencyInjection
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.

PropertyInitial Value
LifetimeTransient

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.

See Also