ServiceCollectionDescriptorExtensions.RemoveAllKeyed メソッド

定義

オーバーロード

名前 説明
RemoveAllKeyed(IServiceCollection, Type, Object)

serviceTypeIServiceCollection型のすべてのサービスを削除します。

RemoveAllKeyed<T>(IServiceCollection, Object)

TIServiceCollection型のすべてのサービスを削除します。

RemoveAllKeyed(IServiceCollection, Type, Object)

ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs

serviceTypeIServiceCollection型のすべてのサービスを削除します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ RemoveAllKeyed(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ collection, Type ^ serviceType, System::Object ^ serviceKey);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection RemoveAllKeyed(this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, Type serviceType, object? serviceKey);
static member RemoveAllKeyed : Microsoft.Extensions.DependencyInjection.IServiceCollection * Type * obj -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function RemoveAllKeyed (collection As IServiceCollection, serviceType As Type, serviceKey As Object) As IServiceCollection

パラメーター

serviceType
Type

削除するサービスの種類。

serviceKey
Object

サービス キー。

返品

チェーンの IServiceCollection

適用対象

RemoveAllKeyed<T>(IServiceCollection, Object)

ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs
ソース:
ServiceCollectionDescriptorExtensions.Keyed.cs

TIServiceCollection型のすべてのサービスを削除します。

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ RemoveAllKeyed(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ collection, System::Object ^ serviceKey);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection RemoveAllKeyed<T>(this Microsoft.Extensions.DependencyInjection.IServiceCollection collection, object? serviceKey);
static member RemoveAllKeyed : Microsoft.Extensions.DependencyInjection.IServiceCollection * obj -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function RemoveAllKeyed(Of T) (collection As IServiceCollection, serviceKey As Object) As IServiceCollection

型パラメーター

T

パラメーター

serviceKey
Object

サービス キー。

返品

チェーンの IServiceCollection

適用対象