Show / Hide Table of Contents

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

| Edit this page View Source

ImplementationType

Type that implements the interface described by the service type property.

Declaration
Type ImplementationType { get; }
Property Value
Type Description
Type
| Edit this page View Source

Lifetime

What is the lifetime registration type in .NET Core dependency injection.

Declaration
ServiceLifetime Lifetime { get; set; }
Property Value
Type Description
ServiceLifetime
| Edit this page View Source

ServiceType

Interface type for this registration

Declaration
Type ServiceType { get; }
Property Value
Type Description
Type
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com