次の方法で共有


IServiceCollection インターフェイス

定義

サービス記述子のコレクションのコントラクトを指定します。

public interface class IServiceCollection : System::Collections::Generic::ICollection<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>, System::Collections::Generic::IList<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>
public interface IServiceCollection : System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>, System.Collections.Generic.IList<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>
type IServiceCollection = interface
    interface IList<ServiceDescriptor>
    interface ICollection<ServiceDescriptor>
    interface seq<ServiceDescriptor>
    interface IEnumerable
Public Interface IServiceCollection
Implements ICollection(Of ServiceDescriptor), IEnumerable(Of ServiceDescriptor), IList(Of ServiceDescriptor)
派生
実装

プロパティ

名前 説明
Count

ICollection<T>に含まれる要素の数を取得します。

(継承元 ICollection<T>)
IsReadOnly

ICollection<T> が読み取り専用かどうかを示す値を取得します。

(継承元 ICollection<T>)
Item[Int32]

指定したインデックス位置にある要素を取得または設定します。

(継承元 IList<T>)

メソッド

名前 説明
Add(T)

ICollection<T>に項目を追加します。

(継承元 ICollection<T>)
Clear()

ICollection<T>からすべての項目を削除します。

(継承元 ICollection<T>)
Contains(T)

ICollection<T> に特定の値が含まれているかどうかを判断します。

(継承元 ICollection<T>)
CopyTo(T[], Int32)

特定の ICollection<T> インデックスから始まる Array の要素を Arrayにコピーします。

(継承元 ICollection<T>)
GetEnumerator()

コレクションを反復処理する列挙子を返します。

(継承元 IEnumerable)
IndexOf(T)

IList<T>内の特定の項目のインデックスを決定します。

(継承元 IList<T>)
Insert(Int32, T)

指定したインデックス位置にある IList<T> に項目を挿入します。

(継承元 IList<T>)
Remove(T)

特定のオブジェクトの最初の出現箇所を ICollection<T>から削除します。

(継承元 ICollection<T>)
RemoveAt(Int32)

指定したインデックス位置にある IList<T> 項目を削除します。

(継承元 IList<T>)

拡張メソッド

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

実行時ではなく、起動時にキー付きシングルトンのアクティブ化を適用します。

ActivateKeyedSingleton<TService>(IServiceCollection, Object)

実行時ではなく、起動時にキー付きシングルトンのアクティブ化を適用します。

ActivateSingleton(IServiceCollection, Type)

実行時ではなく、起動時にシングルトンアクティブ化を適用します。

ActivateSingleton<TService>(IServiceCollection)

実行時ではなく、起動時にシングルトンアクティブ化を適用します。

Add(IServiceCollection, IEnumerable<ServiceDescriptor>)

collectionに一連のServiceDescriptorを追加します。

Add(IServiceCollection, ServiceDescriptor)

指定した descriptorcollectionに追加します。

AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton(IServiceCollection, Type, Object)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

自動アクティブ化キー付きシングルトン サービスを追加します。

AddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

自動アクティブ化されたシングルトン サービスを追加します。

AddActivatedSingleton(IServiceCollection, Type, Type)

自動アクティブ化されたシングルトン サービスを追加します。

AddActivatedSingleton(IServiceCollection, Type)

serviceType で指定された型の自動アクティブ化シングルトン サービスを、指定した IServiceCollectionに追加します。

AddActivatedSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

自動アクティブ化されたシングルトン サービスを追加します。

AddActivatedSingleton<TService,TImplementation>(IServiceCollection)

自動アクティブ化されたシングルトン サービスを追加します。

AddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

自動アクティブ化されたシングルトン サービスを追加します。

AddActivatedSingleton<TService>(IServiceCollection)

自動アクティブ化されたシングルトン サービスを追加します。

AddApplicationLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)

アプリケーション エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddApplicationLogEnricher(IServiceCollection, IConfigurationSection)

アプリケーション エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddApplicationLogEnricher(IServiceCollection)

アプリケーション エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddApplicationMetadata(IServiceCollection, Action<ApplicationMetadata>)

依存関係挿入コンテナーに ApplicationMetadata のインスタンスを追加します。

AddApplicationMetadata(IServiceCollection, IConfigurationSection)

依存関係挿入コンテナーに ApplicationMetadata のインスタンスを追加します。

AddAsyncState(IServiceCollection)

IAsyncStateIAsyncContext<T>、および Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 サービスの既定の実装を追加します。 これらのインターフェイスの実装はスレッド セーフではないことに注意してください。

AddBuildMetadata(IServiceCollection, Action<BuildMetadata>)

BuildMetadataのインスタンスをIServiceCollectionに追加します。

AddBuildMetadata(IServiceCollection, IConfigurationSection)

BuildMetadataのインスタンスをIServiceCollectionに追加します。

AddChatClient(IServiceCollection, Func<IServiceProvider,IChatClient>, ServiceLifetime)

シングルトン IChatClientIServiceCollectionに登録します。

AddChatClient(IServiceCollection, IChatClient, ServiceLifetime)

シングルトン IChatClientIServiceCollectionに登録します。

AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)

コンソールの待機時間データ エクスポーターを追加します。

AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)

コンソールの待機時間データ エクスポーターを追加します。

AddConsoleLatencyDataExporter(IServiceCollection)

コンソールの待機時間データ エクスポーターを追加します。

AddContextualOptions(IServiceCollection)

コンテキスト オプションを使用するために必要なサービスを追加します。

AddDistributedMemoryCache(IServiceCollection, Action<MemoryDistributedCacheOptions>)

メモリに項目を格納する IDistributedCache の既定の実装を IServiceCollectionに追加します。 分散キャッシュを機能させる必要があるフレームワークでは、依存関係リストの一部としてこの依存関係を安全に追加して、少なくとも 1 つの実装が使用可能であることを確認できます。

AddDistributedMemoryCache(IServiceCollection)

メモリに項目を格納する IDistributedCache の既定の実装を IServiceCollectionに追加します。 分散キャッシュを機能させる必要があるフレームワークでは、依存関係リストの一部としてこの依存関係を安全に追加して、少なくとも 1 つの実装が使用可能であることを確認できます。

AddDistributedRedisCache(IServiceCollection, Action<RedisCacheOptions>)

指定した IServiceCollectionに Redis 分散キャッシュ サービスを追加します。

AddDistributedSqlServerCache(IServiceCollection, Action<SqlServerCacheOptions>)

指定Microsoft SQL ServerIServiceCollectionに分散キャッシュ サービスを追加します。

AddDownstreamDependencyMetadata(IServiceCollection, IDownstreamDependencyMetadata)

依存関係メタデータを追加します。

AddDownstreamDependencyMetadata<T>(IServiceCollection)

依存関係メタデータを追加します。

AddEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Func<IServiceProvider,IEmbeddingGenerator<TInput,TEmbedding>>, ServiceLifetime)

IServiceCollectionにシングルトン埋め込みジェネレーターを登録します。

AddEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, IEmbeddingGenerator<TInput,TEmbedding>, ServiceLifetime)

IServiceCollectionにシングルトン埋め込みジェネレーターを登録します。

AddExceptionSummarizer(IServiceCollection, Action<IExceptionSummarizationBuilder>)

例外サマライザーを依存関係挿入コンテナーに登録します。

AddExceptionSummarizer(IServiceCollection)

例外サマライザーを依存関係挿入コンテナーに登録します。

AddExtendedHttpClientLogging(IServiceCollection, Action<LoggingOptions>)

IHttpClientFactoryで作成されたすべての HTTP クライアントの送信要求のログを出力するIHttpClientAsyncLoggerを追加します。

AddExtendedHttpClientLogging(IServiceCollection, IConfigurationSection)

IHttpClientFactoryで作成されたすべての HTTP クライアントの送信要求のログを出力するIHttpClientAsyncLoggerを追加します。

AddExtendedHttpClientLogging(IServiceCollection)

IHttpClientFactoryで作成されたすべての HTTP クライアントの送信要求のログを出力するIHttpClientAsyncLoggerを追加します。

AddFakeLogging(IServiceCollection, Action<FakeLogCollectorOptions>)

偽のログ記録を構成します。

AddFakeLogging(IServiceCollection, IConfigurationSection)

偽のログ記録を構成します。

AddFakeLogging(IServiceCollection)

既定のオプションを使用して偽のログ記録を構成します。

AddFakeRedaction(IServiceCollection, Action<FakeRedactorOptions>)

常に偽の redactor インスタンスを返す偽のリダクター プロバイダーを登録します。

AddFakeRedaction(IServiceCollection)

常に偽の redactor インスタンスを返す偽のリダクター プロバイダーを登録します。

AddHealthChecks(IServiceCollection)

指定されたデリゲートを使用して正常性チェックを登録して、 HealthCheckService をコンテナーに追加します。

AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider,THostedService>)

指定した型の IHostedService 登録を追加します。

AddHostedService<THostedService>(IServiceCollection)

指定した型の IHostedService 登録を追加します。

AddHttpClient(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection)

IServiceCollectionIHttpClientFactoryおよび関連サービスを追加します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,IServiceProvider,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,IServiceProvider,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)

待機時間情報を収集し、すべての http クライアントの送信要求ログを強化するための DelegatingHandler を追加します。

AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)

待機時間情報を収集し、すべての http クライアントの送信要求ログを強化するための DelegatingHandler を追加します。

AddHttpClientLatencyTelemetry(IServiceCollection)

待機時間情報を収集し、すべての http クライアントの送信要求ログを強化するための DelegatingHandler を追加します。

AddHttpClientLogEnricher<T>(IServiceCollection)

Tのエンリッチャー インスタンスをIServiceCollectionに追加して、HttpClientログをエンリッチします。

AddImageGenerator(IServiceCollection, Func<IServiceProvider,IImageGenerator>, ServiceLifetime)

シングルトン IImageGeneratorIServiceCollectionに登録します。

AddImageGenerator(IServiceCollection, IImageGenerator, ServiceLifetime)

シングルトン IImageGeneratorIServiceCollectionに登録します。

AddKeyedChatClient(IServiceCollection, Object, Func<IServiceProvider,IChatClient>, ServiceLifetime)

キー付きシングルトン IChatClientIServiceCollectionに登録します。

AddKeyedChatClient(IServiceCollection, Object, IChatClient, ServiceLifetime)

キー付きシングルトン IChatClientIServiceCollectionに登録します。

AddKeyedEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Object, Func<IServiceProvider,IEmbeddingGenerator<TInput,TEmbedding>>, ServiceLifetime)

キー付きシングルトン埋め込みジェネレーターを IServiceCollectionに登録します。

AddKeyedEmbeddingGenerator<TInput,TEmbedding>(IServiceCollection, Object, IEmbeddingGenerator<TInput,TEmbedding>, ServiceLifetime)

キー付きシングルトン埋め込みジェネレーターを IServiceCollectionに登録します。

AddKeyedImageGenerator(IServiceCollection, Object, Func<IServiceProvider,IImageGenerator>, ServiceLifetime)

キー付きシングルトン IImageGeneratorIServiceCollectionに登録します。

AddKeyedImageGenerator(IServiceCollection, Object, IImageGenerator, ServiceLifetime)

キー付きシングルトン IImageGeneratorIServiceCollectionに登録します。

AddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddKeyedScoped(IServiceCollection, Type, Object, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型のスコープ付きサービスを、指定したIServiceCollectionに追加します。

AddKeyedScoped(IServiceCollection, Type, Object)

指定したIServiceCollectionに、serviceTypeで指定された型のスコープサービスを追加します。

AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactoryで指定したファクトリを使用して、TImplementationで指定された実装型を持つ、TServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)

TImplementationで指定された実装型を持つTServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddKeyedScoped<TService>(IServiceCollection, Object)

指定したIServiceCollectionに、TServiceで指定された型のスコープサービスを追加します。

AddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton(IServiceCollection, Type, Object, Object)

implementationInstanceで指定されたインスタンスを持つserviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton(IServiceCollection, Type, Object, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton(IServiceCollection, Type, Object)

serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactoryで指定されたファクトリを使用して、TImplementationで指定された実装型を持つ、TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

TImplementationで指定された実装型を持つTServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton<TService>(IServiceCollection, Object, TService)

implementationInstanceで指定されたインスタンスを持つTServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSingleton<TService>(IServiceCollection, Object)

TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddKeyedSpeechToTextClient(IServiceCollection, Object, Func<IServiceProvider,ISpeechToTextClient>, ServiceLifetime)

キー付きシングルトン ISpeechToTextClientIServiceCollectionに登録します。

AddKeyedSpeechToTextClient(IServiceCollection, Object, ISpeechToTextClient, ServiceLifetime)

キー付きシングルトン ISpeechToTextClientIServiceCollectionに登録します。

AddKeyedTextToSpeechClient(IServiceCollection, Object, Func<IServiceProvider,ITextToSpeechClient>, ServiceLifetime)

キー付きシングルトン ITextToSpeechClientIServiceCollectionに登録します。

AddKeyedTextToSpeechClient(IServiceCollection, Object, ITextToSpeechClient, ServiceLifetime)

キー付きシングルトン ITextToSpeechClientIServiceCollectionに登録します。

AddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient(IServiceCollection, Type, Object, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient(IServiceCollection, Type, Object)

serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)

implementationFactoryで指定されたファクトリを使用して、TImplementationで指定された実装型を持つTServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)

TImplementationで指定された実装型を持つTServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKeyedTransient<TService>(IServiceCollection, Object)

TServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)

構成されたオプションを使用して、liveness、startup、および readiness プローブを登録します。

AddKubernetesProbes(IServiceCollection, IConfigurationSection)

構成されたオプションを使用して、liveness、startup、および readiness プローブを登録します。

AddKubernetesProbes(IServiceCollection)

既定のオプションを使用して、liveness、startup、および readiness プローブを登録します。

AddKubernetesResourceMonitoring(IServiceCollection, String)

Kubernetes リソース監視コンポーネントを構成し、必要な基本的なリソース監視コンポーネントと共にサービス コレクションに追加します。

AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)

待機時間コンテキストを追加します。

AddLatencyContext(IServiceCollection, IConfigurationSection)

待機時間コンテキストを追加します。

AddLatencyContext(IServiceCollection)

待機時間コンテキストを追加します。

AddLocalization(IServiceCollection, Action<LocalizationOptions>)

アプリケーションのローカライズに必要なサービスを追加します。

AddLocalization(IServiceCollection)

アプリケーションのローカライズに必要なサービスを追加します。

AddLogEnricher(IServiceCollection, ILogEnricher)

ログ エンリッチャー インスタンスを登録します。

AddLogEnricher<T>(IServiceCollection)

ログ エンリッチャーの種類を登録します。

AddLogging(IServiceCollection, Action<ILoggingBuilder>)

指定した IServiceCollectionにログ サービスを追加します。

AddLogging(IServiceCollection)

指定した IServiceCollectionにログ サービスを追加します。

AddMemoryCache(IServiceCollection, Action<MemoryCacheOptions>)

IMemoryCacheの非分散インメモリ実装をIServiceCollectionに追加します。

AddMemoryCache(IServiceCollection)

IMemoryCacheの非分散インメモリ実装をIServiceCollectionに追加します。

AddMetrics(IServiceCollection, Action<IMetricsBuilder>)

指定した IServiceCollectionにメトリック サービスを追加します。

AddMetrics(IServiceCollection)

指定した IServiceCollectionにメトリック サービスを追加します。

AddNullLatencyContext(IServiceCollection)

依存関係挿入コンテナーに no-op 待機時間コンテキストを追加します。

AddOptions(IServiceCollection)

オプションを使用するために必要なサービスを追加します。

AddOptions<TOptions>(IServiceCollection, String)

同じ名前付き TOptions の Configure 呼び出しを基になるサービス コレクションに転送するオプション ビルダーを取得します。

AddOptions<TOptions>(IServiceCollection)

同じ TOptions の Configure 呼び出しを基になるサービス コレクションに転送するオプション ビルダーを取得します。

AddOptionsWithValidateOnStart<TOptions,TValidateOptions>(IServiceCollection, String)

オプションを使用するために必要なサービスを追加し、実行時ではなく起動時にオプション検証チェックを適用します。

AddOptionsWithValidateOnStart<TOptions>(IServiceCollection, String)

オプションを使用するために必要なサービスを追加し、実行時ではなく起動時にオプション検証チェックを適用します。

AddPolicyRegistry(IServiceCollection, Action<IServiceProvider,IPolicyRegistry<String>>)

サービス コレクション内の空の PolicyRegistry をサービスの種類 IPolicyRegistry<TKey>IReadOnlyPolicyRegistry<TKey>、および IConcurrentPolicyRegistry<TKey> に登録し、指定したデリゲートを使用して構成します。

AddPolicyRegistry(IServiceCollection, IPolicyRegistry<String>)

サービス コレクションに指定された IPolicyRegistry<TKey> をサービスの種類 IPolicyRegistry<TKey>IReadOnlyPolicyRegistry<TKey>、および IConcurrentPolicyRegistry<TKey> に登録し、指定されたレジストリを返します。

AddPolicyRegistry(IServiceCollection)

サービスコレクション内の空の PolicyRegistry を、サービスの種類がまだ登録されていない場合 IPolicyRegistry<TKey>IReadOnlyPolicyRegistry<TKey>、および IConcurrentPolicyRegistry<TKey> に登録し、既存のレジストリまたは新しく作成されたレジストリを返します。

AddPooled<TService,TImplementation>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

ObjectPool<T>を追加し、DI がTServiceのスコープ付きインスタンスを返すようにします。

AddPooled<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

ObjectPool<T>を追加し、DI がTServiceのスコープ付きインスタンスを返すようにします。

AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)

プロセス エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddProcessLogEnricher(IServiceCollection, IConfigurationSection)

ホスト エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddProcessLogEnricher(IServiceCollection)

プロセス エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

IServiceCollectionIRedactorProviderの実装を登録し、使用可能な編集機能を構成します。

AddRedaction(IServiceCollection)

IServiceCollectionIRedactorProviderの実装を登録します。

AddResilienceEnricher(IServiceCollection)

回復性エンリッチャーを追加します。

AddResourceMonitoring(IServiceCollection, Action<IResourceMonitorBuilder>)
古い.

サービス コレクションに IResourceMonitor 実装を構成して追加します。

AddResourceMonitoring(IServiceCollection)

サービス コレクションに IResourceMonitor 実装を構成して追加します。

AddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddScoped(IServiceCollection, Type, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型のスコープ付きサービスを、指定したIServiceCollectionに追加します。

AddScoped(IServiceCollection, Type)

指定したIServiceCollectionに、serviceTypeで指定された型のスコープサービスを追加します。

AddScoped<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactoryで指定したファクトリを使用して、TImplementationで指定された実装型を持つ、TServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddScoped<TService,TImplementation>(IServiceCollection)

TImplementationで指定された実装型を持つTServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型のスコープサービスを、指定したIServiceCollectionに追加します。

AddScoped<TService>(IServiceCollection)

指定したIServiceCollectionに、TServiceで指定された型のスコープサービスを追加します。

AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)
古い.

サービス エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddServiceLogEnricher(IServiceCollection, IConfigurationSection)
古い.

サービス エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddServiceLogEnricher(IServiceCollection)
古い.

サービス エンリッチャーのインスタンスを IServiceCollectionに追加します。

AddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton(IServiceCollection, Type, Object)

implementationInstanceで指定されたインスタンスを持つserviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton(IServiceCollection, Type, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton(IServiceCollection, Type)

serviceTypeで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactoryで指定されたファクトリを使用して、TImplementationで指定された実装型を持つ、TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton<TService,TImplementation>(IServiceCollection)

TImplementationで指定された実装型を持つTServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton<TService>(IServiceCollection, TService)

implementationInstanceで指定されたインスタンスを持つTServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSingleton<TService>(IServiceCollection)

TServiceで指定された型のシングルトン サービスを、指定したIServiceCollectionに追加します。

AddSpeechToTextClient(IServiceCollection, Func<IServiceProvider,ISpeechToTextClient>, ServiceLifetime)

シングルトン ISpeechToTextClientIServiceCollectionに登録します。

AddSpeechToTextClient(IServiceCollection, ISpeechToTextClient, ServiceLifetime)

シングルトン ISpeechToTextClientIServiceCollectionに登録します。

AddStackExchangeRedisCache(IServiceCollection, Action<RedisCacheOptions>)

指定した IServiceCollectionに Redis 分散キャッシュ サービスを追加します。

AddStaticLogEnricher(IServiceCollection, IStaticLogEnricher)

静的ログ エンリッチャー インスタンスを登録します。

AddStaticLogEnricher<T>(IServiceCollection)

静的ログ エンリッチャーの種類を登録します。

AddSystemd(IServiceCollection)

servicesからSystemdLifetimeにビルドされたIHostの有効期間を構成し、アプリケーションの起動と停止の通知メッセージを提供し、システム形式にコンソール ログを構成します。

AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTcpEndpointProbe(IServiceCollection, String)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTcpEndpointProbe(IServiceCollection)

サービスが正常な IHealthCheckと見なされる場合、TCP ポートを使用して正常性状態レポートを登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)

アプリケーションの正常性を表すテレメトリを出力する正常性チェック発行元を登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)

アプリケーションの正常性を表すテレメトリを出力する正常性チェック発行元を登録します。

AddTelemetryHealthCheckPublisher(IServiceCollection)

アプリケーションの正常性を表すテレメトリを出力する正常性チェック発行元を登録します。

AddTextToSpeechClient(IServiceCollection, Func<IServiceProvider,ITextToSpeechClient>, ServiceLifetime)

シングルトン ITextToSpeechClientIServiceCollectionに登録します。

AddTextToSpeechClient(IServiceCollection, ITextToSpeechClient, ServiceLifetime)

シングルトン ITextToSpeechClientIServiceCollectionに登録します。

AddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient(IServiceCollection, Type, Type)

implementationTypeで指定された型の実装を使用して、serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient(IServiceCollection, Type)

serviceTypeで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)

implementationFactoryで指定されたファクトリを使用して、TImplementationで指定された実装型を持つTServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient<TService,TImplementation>(IServiceCollection)

TImplementationで指定された実装型を持つTServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、TServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddTransient<TService>(IServiceCollection)

TServiceで指定された型の一時的なサービスを、指定したIServiceCollectionに追加します。

AddValidation(IServiceCollection, Action<ValidationOptions>)

指定した IServiceCollectionに検証サービスを追加します。

AddWebEncoders(IServiceCollection, Action<WebEncoderOptions>)

指定したservicesHtmlEncoderJavaScriptEncoder、およびUrlEncoderを追加します。

AddWebEncoders(IServiceCollection)

指定したservicesHtmlEncoderJavaScriptEncoder、およびUrlEncoderを追加します。

AddWindowsService(IServiceCollection, Action<WindowsServiceLifetimeOptions>)

servicesからWindowsServiceLifetimeにビルドされたIHostの有効期間を構成し、アプリケーション名を既定のソース名として使用してイベント ログにログを記録できるようにします。

AddWindowsService(IServiceCollection)

servicesからWindowsServiceLifetimeにビルドされたIHostの有効期間を構成し、アプリケーション名を既定のソース名として使用してイベント ログにログを記録できるようにします。

BuildServiceProvider(IServiceCollection, Boolean)

指定したIServiceCollectionからサービスを含むServiceProviderを作成し、必要に応じてスコープの検証を有効にします。

BuildServiceProvider(IServiceCollection, ServiceProviderOptions)

指定したIServiceCollectionからサービスを含むServiceProviderを作成し、必要に応じてスコープの検証を有効にします。

BuildServiceProvider(IServiceCollection)

指定されたIServiceCollectionからサービスを含むServiceProviderを作成します。

Configure<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)

特定の種類のオプションを構成するために使用するアクションを登録します。

Configure<TOptions>(IServiceCollection, Action<TOptions>)

特定の種類のオプションを構成するために使用するアクションを登録します。 注: これらはすべての PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)の前に実行されます。

Configure<TOptions>(IServiceCollection, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)

特定の種類のオプションを構成するために使用するアクションを登録します。

Configure<TOptions>(IServiceCollection, IConfiguration, Action<BinderOptions>)

TOptionsバインド先の構成インスタンスを登録します。

Configure<TOptions>(IServiceCollection, IConfiguration)

TOptionsバインド先の構成インスタンスを登録します。

Configure<TOptions>(IServiceCollection, String, Action<IOptionsContext,TOptions>)

特定の種類のオプションを構成するために使用するアクションを登録します。

Configure<TOptions>(IServiceCollection, String, Action<TOptions>)

特定の種類のオプションを構成するために使用するアクションを登録します。 注: これらはすべての PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)の前に実行されます。

Configure<TOptions>(IServiceCollection, String, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)

特定の種類のオプションを構成するために使用するアクションを登録します。

Configure<TOptions>(IServiceCollection, String, IConfiguration, Action<BinderOptions>)

TOptionsバインド先の構成インスタンスを登録します。

Configure<TOptions>(IServiceCollection, String, IConfiguration)

TOptionsバインド先の構成インスタンスを登録します。

ConfigureAll<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)

特定の種類のオプションのすべてのインスタンスを構成するために使用するアクションを登録します。

ConfigureAll<TOptions>(IServiceCollection, Action<TOptions>)

特定の種類のオプションのすべてのインスタンスを構成するために使用するアクションを登録します。

ConfigureAll<TOptions>(IServiceCollection, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)

特定の種類のオプションのすべてのインスタンスを構成するために使用するアクションを登録します。

ConfigureHttpClientDefaults(IServiceCollection, Action<IHttpClientBuilder>)

すべての HttpClient インスタンスの構成に使用されるデリゲートを追加します。

ConfigureOptions(IServiceCollection, Object)

すべての IConfigureOptions<TOptions>IPostConfigureOptions<TOptions>、および IValidateOptions<TOptions> が登録されるオブジェクトを登録します。

ConfigureOptions(IServiceCollection, Type)

すべての IConfigureOptions<TOptions>IPostConfigureOptions<TOptions>、および IValidateOptions<TOptions> が登録される型を登録します。

ConfigureOptions<TConfigureOptions>(IServiceCollection)

すべての IConfigureOptions<TOptions>IPostConfigureOptions<TOptions>、および IValidateOptions<TOptions> が登録される型を登録します。

ConfigurePool<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)

型指定されたプールの DependencyInjectionPoolOptions の構成に使用するアクションを登録します。

ConfigurePools(IServiceCollection, IConfigurationSection)

DI プールを構成します。

PostConfigure<TOptions>(IServiceCollection, Action<TOptions>)

特定の種類のオプションを初期化するために使用するアクションを登録します。 注: これらはすべての Configure<TOptions>(IServiceCollection, Action<TOptions>)の後で実行されます。

PostConfigure<TOptions>(IServiceCollection, String, Action<TOptions>)

特定の種類のオプションを構成するために使用するアクションを登録します。 注: これらはすべての Configure<TOptions>(IServiceCollection, Action<TOptions>)の後で実行されます。

PostConfigureAll<TOptions>(IServiceCollection, Action<TOptions>)

特定の種類のオプションのすべてのインスタンスを構成した後に使用するアクションを登録します。 注: これらはすべての Configure<TOptions>(IServiceCollection, Action<TOptions>)の後で実行されます。

RegisterCheckpointNames(IServiceCollection, String[])

待機時間コンテキストのチェックポイント名のセットを登録します。

RegisterMeasureNames(IServiceCollection, String[])

待機時間コンテキストのメジャー名のセットを登録します。

RegisterTagNames(IServiceCollection, String[])

待機時間コンテキストのタグ名のセットを登録します。

RemoveAll(IServiceCollection, Type)

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

RemoveAll<T>(IServiceCollection)

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

RemoveAllKeyed(IServiceCollection, Type, Object)

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

RemoveAllKeyed<T>(IServiceCollection, Object)

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

Replace(IServiceCollection, ServiceDescriptor)

descriptorと同じサービスの種類を持つIServiceCollectionの最初のサービスを削除し、コレクションにdescriptorを追加します。

ToAsyncEnumerable<TSource>(IEnumerable<TSource>)

IAsyncEnumerable<T>を反復処理する新しいsourceを作成します。

ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)

指定したキー セレクターおよび要素セレクター関数に従って、FrozenDictionary<TKey,TValue> から IEnumerable<T> を作成します。

ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

指定したキー セレクター関数に従って、FrozenDictionary<TKey,TValue>からIEnumerable<T>を作成します。

ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)

指定した値を持つ FrozenSet<T> を作成します。

ToImmutableArray<TSource>(IEnumerable<TSource>)

指定したコレクションから変更できない配列を作成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>, IEqualityComparer<TValue>)

シーケンスを列挙して変換し、指定したキーと値の比較子を使用してその内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IEqualityComparer<TKey>)

シーケンスを列挙して変換し、指定したキー比較子を使用してその内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

シーケンスを列挙して変換し、その内容の変更できないディクショナリを生成します。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)

シーケンスの変換に基づいて、変更できないディクショナリを構築します。

ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

変換関数をソース キーに適用して、要素の既存のコレクションから変更できないディクショナリを構築します。

ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)

シーケンスを列挙し、その内容の変更できないハッシュ セットを生成し、セット型に対して指定された等値比較子を使用します。

ToImmutableHashSet<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できないハッシュ セットを生成します。

ToImmutableList<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できないリストを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>, IEqualityComparer<TValue>)

シーケンスを列挙して変換し、指定したキーと値の比較子を使用して、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>, IComparer<TKey>)

シーケンスを列挙して変換し、指定したキー比較子を使用して、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TValue>)

シーケンスを列挙して変換し、その内容の変更できない並べ替えられたディクショナリを生成します。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

シーケンスを列挙し、その内容の変更できない並べ替えられたセットを生成し、指定された比較子を使用します。

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

シーケンスを列挙し、その内容の変更できない並べ替えられたセットを生成します。

TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>)

サービスの種類がまだ登録されていない場合は、指定した descriptorscollection に追加します。

TryAdd(IServiceCollection, ServiceDescriptor)

サービスの種類がまだ登録されていない場合は、指定した descriptorcollection に追加します。

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object)

自動アクティブ化キー付きシングルトン サービスの追加を試みます。

TryAddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddActivatedSingleton(IServiceCollection, Type, Type)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddActivatedSingleton(IServiceCollection, Type)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddActivatedSingleton<TService,TImplementation>(IServiceCollection)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddActivatedSingleton<TService>(IServiceCollection)

自動アクティブ化シングルトン サービスの追加を試みます。

TryAddEnumerable(IServiceCollection, IEnumerable<ServiceDescriptor>)

同じServiceTypeを持つ既存の記述子と、servicesにまだ存在しない実装がある場合は、指定したServiceDescriptorを追加します。

TryAddEnumerable(IServiceCollection, ServiceDescriptor)

同じServiceTypeを持つ既存の記述子と、servicesにまだ存在しない実装がある場合は、ServiceDescriptorを追加します。

TryAddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceScoped サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedScoped(IServiceCollection, Type, Object, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つScoped サービスとしてcollectionに追加します。

TryAddKeyedScoped(IServiceCollection, Type, Object)

指定した serviceScoped サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したScoped サービス実装型としてcollectionに追加します。

TryAddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceScoped サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedScoped<TService>(IServiceCollection, Object)

指定した TServiceScoped サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceSingleton サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedSingleton(IServiceCollection, Type, Object, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つSingleton サービスとしてcollectionに追加します。

TryAddKeyedSingleton(IServiceCollection, Type, Object)

指定した serviceSingleton サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したSingleton サービス実装型としてcollectionに追加します。

TryAddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceSingleton サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedSingleton<TService>(IServiceCollection, Object, TService)

サービスの種類がまだ登録されていない場合は、instance で指定されたインスタンスを持つSingleton サービスとして、指定したTServicecollectionに追加します。

TryAddKeyedSingleton<TService>(IServiceCollection, Object)

指定した TServiceSingleton サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceTransient サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedTransient(IServiceCollection, Type, Object, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つTransient サービスとしてcollectionに追加します。

TryAddKeyedTransient(IServiceCollection, Type, Object)

指定した serviceTransient サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したTransient サービス実装型としてcollectionに追加します。

TryAddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceTransient サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddKeyedTransient<TService>(IServiceCollection, Object)

指定した TServiceTransient サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceScoped サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddScoped(IServiceCollection, Type, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つScoped サービスとしてcollectionに追加します。

TryAddScoped(IServiceCollection, Type)

指定した serviceScoped サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddScoped<TService,TImplementation>(IServiceCollection)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したScoped サービス実装型としてcollectionに追加します。

TryAddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceScoped サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddScoped<TService>(IServiceCollection)

指定した TServiceScoped サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceSingleton サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddSingleton(IServiceCollection, Type, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つSingleton サービスとしてcollectionに追加します。

TryAddSingleton(IServiceCollection, Type)

指定した serviceSingleton サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddSingleton<TService,TImplementation>(IServiceCollection)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したSingleton サービス実装型としてcollectionに追加します。

TryAddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceSingleton サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddSingleton<TService>(IServiceCollection, TService)

サービスの種類がまだ登録されていない場合は、instance で指定されたインスタンスを持つSingleton サービスとして、指定したTServicecollectionに追加します。

TryAddSingleton<TService>(IServiceCollection)

指定した TServiceSingleton サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>)

implementationFactoryで指定されたファクトリを使用して、指定したserviceTransient サービスとしてcollectionに追加します (サービスの種類がまだ登録されていない場合)。

TryAddTransient(IServiceCollection, Type, Type)

サービスの種類がまだ登録されていない場合は、指定したserviceimplementationType実装を持つTransient サービスとしてcollectionに追加します。

TryAddTransient(IServiceCollection, Type)

指定した serviceTransient サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

TryAddTransient<TService,TImplementation>(IServiceCollection)

サービスの種類がまだ登録されていない場合は、指定したTServiceTImplementationで指定したTransient サービス実装型としてcollectionに追加します。

TryAddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>)

implementationFactoryで指定されたファクトリを使用して、指定したTServiceTransient サービスとしてservicesに追加します (サービスの種類がまだ登録されていない場合)。

TryAddTransient<TService>(IServiceCollection)

指定した TServiceTransient サービスとして collection に追加します (サービスの種類がまだ登録されていない場合)。

適用対象