Interface ITypeRegistrationItem
Interface for describing a type that should be registered with .NET Core dependency injection. It describes the service lifetime, interface data type, and concrete implementation.
Namespace: Benday.Common
Assembly: Benday.Common.dll
Syntax
public interface ITypeRegistrationItem
Properties
| Improve this Doc View SourceImplementationType
Type that implements the interface described by the service type property.
Declaration
Type ImplementationType { get; }
Property Value
Type | Description |
---|---|
Type |
Lifetime
What is the lifetime registration type in .NET Core dependency injection.
Declaration
ServiceLifetime Lifetime { get; set; }
Property Value
Type | Description |
---|---|
ServiceLifetime |
ServiceType
Interface type for this registration
Declaration
Type ServiceType { get; }
Property Value
Type | Description |
---|---|
Type |