IInternalServiceCollectionMap.AddDependencySingleton<TDependencies> Yöntem

Tanım

SingletonBağımlılık nesnesi ekler.

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

Tür Parametreleri

TDependencies

Bağımlılık türü.

Döndürülenler

IInternalServiceCollectionMap

Daha fazla yöntemin zincirleme yapabilmesi için aynı koleksiyon haritası.

Şunlara uygulanır