Aracılığıyla paylaş


ServiceCollectionDescriptorExtensions.Add Yöntem

Tanım

Aşırı Yüklemeler

Add(IServiceCollection, ServiceDescriptor)

belirtilen descriptor öğesini öğesine collectionekler.

Add(IServiceCollection, IEnumerable<ServiceDescriptor>)

öğesine collectionbir dizisi ServiceDescriptor ekler.

Add(IServiceCollection, ServiceDescriptor)

Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs

belirtilen descriptor öğesini öğesine collectionekler.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ Add(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ collection, Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ descriptor);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Add (this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, Microsoft.Extensions.DependencyInjection.ServiceDescriptor descriptor);
static member Add : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.DependencyInjection.ServiceDescriptor -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function Add (collection As IServiceCollection, descriptor As ServiceDescriptor) As IServiceCollection

Parametreler

descriptor
ServiceDescriptor

ServiceDescriptor Eklenecek.

Döndürülenler

Geçerli örneğine başvuru IServiceCollection.

Şunlara uygulanır

Add(IServiceCollection, IEnumerable<ServiceDescriptor>)

Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs
Kaynak:
ServiceCollectionDescriptorExtensions.cs

öğesine collectionbir dizisi ServiceDescriptor ekler.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ Add(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ collection, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^> ^ descriptors);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Add (this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> descriptors);
static member Add : Microsoft.Extensions.DependencyInjection.IServiceCollection * seq<Microsoft.Extensions.DependencyInjection.ServiceDescriptor> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function Add (collection As IServiceCollection, descriptors As IEnumerable(Of ServiceDescriptor)) As IServiceCollection

Parametreler

Döndürülenler

Geçerli örneğine başvuru IServiceCollection.

Şunlara uygulanır