IInternalServiceCollectionMap.AddDependencyScoped<TDependencies> Method

Definition

Adds a Scoped dependency object.

public Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap AddDependencyScoped<TDependencies> ();
abstract member AddDependencyScoped : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap
Public Function AddDependencyScoped(Of TDependencies) () As IInternalServiceCollectionMap

Type Parameters

TDependencies

The dependency type.

Returns

The same collection map so that further methods can be chained.

Applies to