AddServiceLogEnricher(IServiceCollection)
|
將服務擴充器的實體加入至 IServiceCollection。
|
AddServiceLogEnricher(IServiceCollection, IConfigurationSection)
|
將服務擴充器的實體加入至 IServiceCollection。
|
AddServiceLogEnricher(IServiceCollection, Action<ApplicationLogEnricherOptions>)
|
將服務擴充器的實體加入至 IServiceCollection。
|
AddApplicationMetadata(IServiceCollection, IConfigurationSection)
|
將的 ApplicationMetadata 實例加入至相依性插入容器。
|
AddApplicationMetadata(IServiceCollection, Action<ApplicationMetadata>)
|
將的 ApplicationMetadata 實例加入至相依性插入容器。
|
AddAsyncState(IServiceCollection)
|
新增、 IAsyncContext<T>和 Microsoft.Extensions.AsyncState.IAsyncLocalContext`1 服務的預設實作IAsyncState。
請注意,這些介面的實作不是安全線程。
|
ActivateKeyedSingleton(IServiceCollection, Type, Object)
|
在啟動時,而不是在運行時間強制執行金鑰單一啟用。
|
ActivateKeyedSingleton<TService>(IServiceCollection, Object)
|
在啟動時,而不是在運行時間強制執行金鑰單一啟用。
|
ActivateSingleton(IServiceCollection, Type)
|
在啟動時強制執行單一啟用,而不是在運行時間啟用。
|
ActivateSingleton<TService>(IServiceCollection)
|
在啟動時強制執行單一啟用,而不是在運行時間啟用。
|
AddActivatedKeyedSingleton(IServiceCollection, Type, Object)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton<TService>(IServiceCollection, Object)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)
|
新增自動啟用的金鑰單一服務。
|
AddActivatedSingleton(IServiceCollection, Type)
|
將 serviceType 中所指定類型的自動啟動單一服務新增至指定的 IServiceCollection。
|
AddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
新增自動啟用的單一服務。
|
AddActivatedSingleton(IServiceCollection, Type, Type)
|
新增自動啟用的單一服務。
|
AddActivatedSingleton<TService>(IServiceCollection)
|
新增自動啟用的單一服務。
|
AddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
新增自動啟用的單一服務。
|
AddActivatedSingleton<TService,TImplementation>(IServiceCollection)
|
新增自動啟用的單一服務。
|
AddActivatedSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)
|
新增自動啟用的單一服務。
|
TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedKeyedSingleton(IServiceCollection, Type, Object, Type)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)
|
嘗試新增自動啟用的金鑰單一服務。
|
TryAddActivatedSingleton(IServiceCollection, Type)
|
嘗試新增自動啟用的單一服務。
|
TryAddActivatedSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
嘗試新增自動啟用的單一服務。
|
TryAddActivatedSingleton(IServiceCollection, Type, Type)
|
嘗試新增自動啟用的單一服務。
|
TryAddActivatedSingleton<TService>(IServiceCollection)
|
嘗試新增自動啟用的單一服務。
|
TryAddActivatedSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
嘗試新增自動啟用的單一服務。
|
TryAddActivatedSingleton<TService,TImplementation>(IServiceCollection)
|
嘗試新增自動啟用的單一服務。
|
AddTelemetryHealthCheckPublisher(IServiceCollection)
|
註冊健康情況檢查發行者,此發行者會發出代表應用程式健康情況的遙測。
|
AddTelemetryHealthCheckPublisher(IServiceCollection, IConfigurationSection)
|
註冊健康情況檢查發行者,此發行者會發出代表應用程式健康情況的遙測。
|
AddTelemetryHealthCheckPublisher(IServiceCollection, Action<TelemetryHealthCheckPublisherOptions>)
|
註冊健康情況檢查發行者,此發行者會發出代表應用程式健康情況的遙測。
|
AddContextualOptions(IServiceCollection)
|
新增使用關係型選項所需的服務。
|
Configure<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)
|
註冊用來設定特定選項類型的動作。
|
Configure<TOptions>(IServiceCollection, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)
|
指定服務描述項集合的合約。
|
Configure<TOptions>(IServiceCollection, String, Action<IOptionsContext,TOptions>)
|
註冊用來設定特定選項類型的動作。
|
Configure<TOptions>(IServiceCollection, String, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)
|
指定服務描述項集合的合約。
|
ConfigureAll<TOptions>(IServiceCollection, Action<IOptionsContext,TOptions>)
|
指定服務描述項集合的合約。
|
ConfigureAll<TOptions>(IServiceCollection, Func<IOptionsContext,CancellationToken,ValueTask<IConfigureContextualOptions<TOptions>>>)
|
指定服務描述項集合的合約。
|
AddWebEncoders(IServiceCollection)
|
將 HtmlEncoder、JavaScriptEncoder 和 UrlEncoder 新增至指定的 services 。
|
AddWebEncoders(IServiceCollection, Action<WebEncoderOptions>)
|
將 HtmlEncoder、JavaScriptEncoder 和 UrlEncoder 新增至指定的 services 。
|
AddLogEnricher(IServiceCollection, ILogEnricher)
|
註冊記錄擴充器實例。
|
AddLogEnricher<T>(IServiceCollection)
|
註冊記錄擴充器類型。
|
AddStaticLogEnricher(IServiceCollection, IStaticLogEnricher)
|
註冊靜態記錄擴充器實例。
|
AddStaticLogEnricher<T>(IServiceCollection)
|
註冊靜態記錄擴充器類型。
|
AddExceptionSummarizer(IServiceCollection)
|
將例外狀況摘要器註冊至相依性插入容器。
|
AddExceptionSummarizer(IServiceCollection, Action<IExceptionSummarizationBuilder>)
|
將例外狀況摘要器註冊至相依性插入容器。
|
Add(IServiceCollection, ServiceDescriptor)
|
將指定的 descriptor 加入至 collection 。
|
Add(IServiceCollection, IEnumerable<ServiceDescriptor>)
|
將 ServiceDescriptor 的序列新增至 collection 。
|
RemoveAll(IServiceCollection, Type)
|
移除 IServiceCollection 中 serviceType 類型的所有服務。
|
RemoveAll<T>(IServiceCollection)
|
移除 IServiceCollection 中 T 類型的所有服務。
|
RemoveAllKeyed(IServiceCollection, Type, Object)
|
移除 collection 中 serviceType 類型的所有服務。
|
RemoveAllKeyed<T>(IServiceCollection, Object)
|
移除 collection 中 T 類型的所有服務。
|
Replace(IServiceCollection, ServiceDescriptor)
|
移除 IServiceCollection 中具有與 descriptor 相同服務類型的第一個服務,並將 descriptor 新增至集合。
|
TryAdd(IServiceCollection, ServiceDescriptor)
|
如果尚未註冊服務類型,則將指定的 descriptor 新增至 collection 。
|
TryAdd(IServiceCollection, IEnumerable<ServiceDescriptor>)
|
如果尚未註冊服務類型,則將指定的 descriptors 新增至 collection 。
|
TryAddEnumerable(IServiceCollection, ServiceDescriptor)
|
如果現有描述項具有相同的 ServiceType,以及尚未存在於 services 中的實作,則新增 ServiceDescriptor。
|
TryAddEnumerable(IServiceCollection, IEnumerable<ServiceDescriptor>)
|
如果現有描述項具有相同的 ServiceType,以及尚未存在於 services 中的實作,則新增特定的 ServiceDescriptor。
|
TryAddKeyedScoped(IServiceCollection, Type, Object)
|
如果尚未註冊服務類型,則將指定的 service 作為 Scoped 服務新增至 collection 。
|
TryAddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Scoped 服務新增至 collection 。
|
TryAddKeyedScoped(IServiceCollection, Type, Object, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Scoped 服務新增至 collection 。
|
TryAddKeyedScoped<TService>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Scoped 服務新增至 collection 。
|
TryAddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Scoped 服務新增至 services 。
|
TryAddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Scoped 服務實作類型新增至 collection 。
|
TryAddKeyedSingleton(IServiceCollection, Type, Object)
|
如果尚未註冊服務類型,則將指定的 service 作為 Singleton 服務新增至 collection 。
|
TryAddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Singleton 服務新增至 collection 。
|
TryAddKeyedSingleton(IServiceCollection, Type, Object, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Singleton 服務新增至 collection 。
|
TryAddKeyedSingleton<TService>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Singleton 服務新增至 collection 。
|
TryAddKeyedSingleton<TService>(IServiceCollection, Object, TService)
|
如果尚未註冊服務類型,則使用 instance 中指定的執行個體,將指定的 TService 作為 Singleton 服務新增至 collection 。
|
TryAddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Singleton 服務新增至 services 。
|
TryAddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Singleton 服務實作類型新增至 collection 。
|
TryAddKeyedTransient(IServiceCollection, Type, Object)
|
如果尚未註冊服務類型,則將指定的 service 作為 Transient 服務新增至 collection 。
|
TryAddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Transient 服務新增至 collection 。
|
TryAddKeyedTransient(IServiceCollection, Type, Object, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Transient 服務新增至 collection 。
|
TryAddKeyedTransient<TService>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Transient 服務新增至 collection 。
|
TryAddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Transient 服務新增至 services 。
|
TryAddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Transient 服務實作類型新增至 collection 。
|
TryAddScoped(IServiceCollection, Type)
|
如果尚未註冊服務類型,則將指定的 service 作為 Scoped 服務新增至 collection 。
|
TryAddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Scoped 服務新增至 collection 。
|
TryAddScoped(IServiceCollection, Type, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Scoped 服務新增至 collection 。
|
TryAddScoped<TService>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Scoped 服務新增至 collection 。
|
TryAddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Scoped 服務新增至 services 。
|
TryAddScoped<TService,TImplementation>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Scoped 服務實作類型新增至 collection 。
|
TryAddSingleton(IServiceCollection, Type)
|
如果尚未註冊服務類型,則將指定的 service 作為 Singleton 服務新增至 collection 。
|
TryAddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Singleton 服務新增至 collection 。
|
TryAddSingleton(IServiceCollection, Type, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Singleton 服務新增至 collection 。
|
TryAddSingleton<TService>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Singleton 服務新增至 collection 。
|
TryAddSingleton<TService>(IServiceCollection, TService)
|
如果尚未註冊服務類型,則使用 instance 中指定的執行個體,將指定的 TService 作為 Singleton 服務新增至 collection 。
|
TryAddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Singleton 服務新增至 services 。
|
TryAddSingleton<TService,TImplementation>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Singleton 服務實作類型新增至 collection 。
|
TryAddTransient(IServiceCollection, Type)
|
如果尚未註冊服務類型,則將指定的 service 作為 Transient 服務新增至 collection 。
|
TryAddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 service 作為 Transient 服務新增至 collection 。
|
TryAddTransient(IServiceCollection, Type, Type)
|
如果尚未註冊服務類型,則將所指定 service 作為具有 implementationType 的 Transient 服務新增至 collection 。
|
TryAddTransient<TService>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定的 TService 作為 Transient 服務新增至 collection 。
|
TryAddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
如果尚未註冊服務類型,則使用 implementationFactory 中指定的 Factory,將指定的 TService 作為 Transient 服務新增至 services 。
|
TryAddTransient<TService,TImplementation>(IServiceCollection)
|
如果尚未註冊服務類型,則將指定 TService 作為 TImplementation 中指定的 Transient 服務實作類型新增至 collection 。
|
AddFakeLogging(IServiceCollection)
|
使用預設選項設定假記錄。
|
AddFakeLogging(IServiceCollection, IConfigurationSection)
|
設定假記錄。
|
AddFakeLogging(IServiceCollection, Action<FakeLogCollectorOptions>)
|
設定假記錄。
|
AddFakeRedaction(IServiceCollection)
|
註冊一律會傳回假的 Redactor 實例的假 Redactor 提供者。
|
AddFakeRedaction(IServiceCollection, Action<FakeRedactorOptions>)
|
註冊一律會傳回假的 Redactor 實例的假 Redactor 提供者。
|
AddHealthChecks(IServiceCollection)
|
使用提供的委派來註冊健康狀態檢查,以將 HealthCheckService 新增至容器。
|
AddHttpClient(IServiceCollection)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection。
|
AddHttpClient(IServiceCollection, String)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定具名 HttpClient。
|
AddHttpClient(IServiceCollection, String, Action<IServiceProvider,HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定具名 HttpClient。
|
AddHttpClient(IServiceCollection, String, Action<HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定具名 HttpClient。
|
AddHttpClient<TClient>(IServiceCollection)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的完整名稱。
|
AddHttpClient<TClient>(IServiceCollection, Action<IServiceProvider,HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient>(IServiceCollection, Action<HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient>(IServiceCollection, String)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient>(IServiceCollection, String, Action<HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<IServiceProvider,HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,TImplementation>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,IServiceProvider,TImplementation>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, String)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。 用戶端名稱將會設定為 TClient 的類型名稱。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<HttpClient>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,TImplementation>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,IServiceProvider,TImplementation>)
|
將 IHttpClientFactory 和相關服務新增至 IServiceCollection,並設定 TClient 類型與具名 HttpClient 之間的繫結。
|
ConfigureHttpClientDefaults(IServiceCollection, Action<IHttpClientBuilder>)
|
加入將用來設定所有 HttpClient 實例的委派。
|
AddHttpClientLatencyTelemetry(IServiceCollection)
|
新增 以 DelegatingHandler 收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄。
|
AddHttpClientLatencyTelemetry(IServiceCollection, IConfigurationSection)
|
新增 以 DelegatingHandler 收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄。
|
AddHttpClientLatencyTelemetry(IServiceCollection, Action<HttpClientLatencyTelemetryOptions>)
|
新增 以 DelegatingHandler 收集延遲資訊,並擴充所有 HTTP 用戶端的傳出要求記錄。
|
AddExtendedHttpClientLogging(IServiceCollection)
|
新增 , IHttpClientAsyncLogger 以針對使用 IHttpClientFactory建立的所有 HTTP 用戶端發出傳出要求的記錄。
|
AddExtendedHttpClientLogging(IServiceCollection, IConfigurationSection)
|
新增 , IHttpClientAsyncLogger 以針對使用 IHttpClientFactory建立的所有 HTTP 用戶端發出傳出要求的記錄。
|
AddExtendedHttpClientLogging(IServiceCollection, Action<LoggingOptions>)
|
新增 , IHttpClientAsyncLogger 以針對使用 IHttpClientFactory建立的所有 HTTP 用戶端發出傳出要求的記錄。
|
AddHttpClientLogEnricher<T>(IServiceCollection)
|
將的 T 擴充器實例新增至 , IServiceCollection 以擴充 HttpClient 記錄。
|
AddDownstreamDependencyMetadata(IServiceCollection, IDownstreamDependencyMetadata)
|
新增相依性元數據。
|
AddDownstreamDependencyMetadata<T>(IServiceCollection)
|
新增相依性元數據。
|
AddKubernetesProbes(IServiceCollection)
|
使用預設選項註冊即時、啟動和整備探查。
|
AddKubernetesProbes(IServiceCollection, IConfigurationSection)
|
使用已設定的選項註冊即時性、啟動和整備探查。
|
AddKubernetesProbes(IServiceCollection, Action<KubernetesProbesOptions>)
|
使用已設定的選項註冊即時性、啟動和整備探查。
|
AddConsoleLatencyDataExporter(IServiceCollection)
|
新增主控台的延遲數據匯出工具。
|
AddConsoleLatencyDataExporter(IServiceCollection, IConfigurationSection)
|
新增主控台的延遲數據匯出工具。
|
AddConsoleLatencyDataExporter(IServiceCollection, Action<LatencyConsoleOptions>)
|
新增主控台的延遲數據匯出工具。
|
AddLatencyContext(IServiceCollection)
|
新增延遲內容。
|
AddLatencyContext(IServiceCollection, IConfigurationSection)
|
新增延遲內容。
|
AddLatencyContext(IServiceCollection, Action<LatencyContextOptions>)
|
新增延遲內容。
|
RegisterCheckpointNames(IServiceCollection, String[])
|
註冊延遲內容的一組檢查點名稱。
|
RegisterMeasureNames(IServiceCollection, String[])
|
註冊延遲內容的一組量值名稱。
|
RegisterTagNames(IServiceCollection, String[])
|
註冊延遲內容的一組標記名稱。
|
AddLocalization(IServiceCollection)
|
新增應用程式當地語系化所需的服務。
|
AddLocalization(IServiceCollection, Action<LocalizationOptions>)
|
新增應用程式當地語系化所需的服務。
|
AddLogging(IServiceCollection)
|
將記錄服務新增至指定的 IServiceCollection。
|
AddLogging(IServiceCollection, Action<ILoggingBuilder>)
|
將記錄服務新增至指定的 IServiceCollection。
|
AddDistributedMemoryCache(IServiceCollection)
|
新增 IDistributedCache 的預設實作,將記憶體中的項目儲存至 IServiceCollection。 需要分散式快取才能運作的架構,可以安全地將此相依性新增為其相依性清單的一部分,以確保至少有一個可用的實作。
|
AddDistributedMemoryCache(IServiceCollection, Action<MemoryDistributedCacheOptions>)
|
新增 IDistributedCache 的預設實作,將記憶體中的項目儲存至 IServiceCollection。 需要分散式快取才能運作的架構,可以安全地將此相依性新增為其相依性清單的一部分,以確保至少有一個可用的實作。
|
AddMemoryCache(IServiceCollection)
|
將 IMemoryCache 的非分散式記憶體內實作新增至 IServiceCollection。
|
AddMemoryCache(IServiceCollection, Action<MemoryCacheOptions>)
|
將 IMemoryCache 的非分散式記憶體內實作新增至 IServiceCollection。
|
AddMetrics(IServiceCollection)
|
將計量服務加入到指定的 IServiceCollection。
|
AddMetrics(IServiceCollection, Action<IMetricsBuilder>)
|
將計量服務加入到指定的 IServiceCollection。
|
AddNullLatencyContext(IServiceCollection)
|
將無作業延遲內容新增至相依性插入容器。
|
AddPooled<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)
|
ObjectPool<T>加入 ,並讓 DI 傳回 的範圍實例TService 。
|
AddPooled<TService,TImplementation>(IServiceCollection, Action<DependencyInjectionPoolOptions>)
|
ObjectPool<T>加入 ,並讓 DI 傳回 的範圍實例TService 。
|
ConfigurePool<TService>(IServiceCollection, Action<DependencyInjectionPoolOptions>)
|
註冊用來設定 DependencyInjectionPoolOptions 具型別集區的 動作。
|
ConfigurePools(IServiceCollection, IConfigurationSection)
|
設定 DI 集區。
|
Configure<TOptions>(IServiceCollection, IConfiguration)
|
註冊 TOptions 將要繫結的組態執行個體,並在組態變更時更新選項。
|
Configure<TOptions>(IServiceCollection, IConfiguration, Action<BinderOptions>)
|
註冊 TOptions 將繫結的組態執行個體。
|
Configure<TOptions>(IServiceCollection, String, IConfiguration)
|
註冊 TOptions 將繫結的組態執行個體。
|
Configure<TOptions>(IServiceCollection, String, IConfiguration, Action<BinderOptions>)
|
註冊 TOptions 將繫結的組態執行個體。
|
AddOptions(IServiceCollection)
|
新增使用選項所需的服務。
|
AddOptions<TOptions>(IServiceCollection)
|
取得選項產生器,它會 Configure 將相同具名 TOptions 的呼叫轉送至基礎服務集合。
|
AddOptions<TOptions>(IServiceCollection, String)
|
取得選項產生器,它會 Configure 將相同具名 TOptions 的呼叫轉送至基礎服務集合。
|
AddOptionsWithValidateOnStart<TOptions>(IServiceCollection, String)
|
新增使用選項所需的服務,並在啟動時強制執行選項驗證檢查,而不是在運行時間執行。
|
AddOptionsWithValidateOnStart<TOptions,TValidateOptions>(IServiceCollection, String)
|
新增使用選項所需的服務,並在啟動時強制執行選項驗證檢查,而不是在運行時間執行。
|
Configure<TOptions>(IServiceCollection, Action<TOptions>)
|
註冊用來在啟動期間一次設定特定選項類型的動作。 這會在 PostConfigure<TOptions>(IServiceCollection, Action<TOptions>) 之前執行。 對設定進行更新不會再次叫用動作。
|
Configure<TOptions>(IServiceCollection, String, Action<TOptions>)
|
註冊用來設定特定選項類型的動作。 這些會在 PostConfigure<TOptions>(IServiceCollection, Action<TOptions>) 之前執行。
|
ConfigureAll<TOptions>(IServiceCollection, Action<TOptions>)
|
註冊用於設定特定選項類型的所有執行個體動作。
|
ConfigureOptions(IServiceCollection, Object)
|
註冊將擁有其 I[Post]ConfigureOptions 所有已註冊的物件。
|
ConfigureOptions(IServiceCollection, Type)
|
註冊將具有其 I[Post]ConfigureOptions 所有已註冊的類型。
|
ConfigureOptions<TConfigureOptions>(IServiceCollection)
|
註冊將具有其 I[Post]ConfigureOptions 所有已註冊的類型。
|
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>) 之後執行。
|
AddPolicyRegistry(IServiceCollection)
|
使用服務類型 IPolicyRegistry<TKey> 和 IReadOnlyPolicyRegistry<TKey> 在服務集合中註冊空白 PolicyRegistry,並傳回新建立的登錄。
|
AddPolicyRegistry(IServiceCollection, IPolicyRegistry<String>)
|
使用服務類型 IPolicyRegistry<TKey> 和 IReadOnlyPolicyRegistry<TKey> 在服務集合中註冊所提供的 IPolicyRegistry<TKey>,並傳回所提供的登錄。
|
AddPolicyRegistry(IServiceCollection, Action<IServiceProvider,IPolicyRegistry<String>>)
|
指定服務描述項集合的合約。
|
AddProcessLogEnricher(IServiceCollection)
|
將行程擴充器的實體加入至 IServiceCollection。
|
AddProcessLogEnricher(IServiceCollection, IConfigurationSection)
|
將主機擴充器的實體加入至 IServiceCollection。
|
AddProcessLogEnricher(IServiceCollection, Action<ProcessLogEnricherOptions>)
|
將行程擴充器的實體加入至 IServiceCollection。
|
AddRedaction(IServiceCollection)
|
在中註冊的實作IRedactorProviderIServiceCollection。
|
AddRedaction(IServiceCollection, Action<IRedactionBuilder>)
|
在 中IServiceCollection註冊 的實作IRedactorProvider,並設定可用的重新執行者。
|
AddDistributedRedisCache(IServiceCollection, Action<RedisCacheOptions>)
|
將 Redis 分散式快取服務新增至指定的 IServiceCollection。
|
AddResilienceEnricher(IServiceCollection)
|
新增復原擴充器。
|
AddResourceMonitoring(IServiceCollection)
|
設定並新增 IResourceMonitor 實作至服務集合。
|
AddResourceMonitoring(IServiceCollection, Action<IResourceMonitorBuilder>)
|
設定並新增 IResourceMonitor 實作至服務集合。
|
BuildServiceProvider(IServiceCollection)
|
從所提供 IServiceCollection 建立包含服務的 ServiceProvider。
|
BuildServiceProvider(IServiceCollection, ServiceProviderOptions)
|
從所提供 IServiceCollection 建立包含服務的 ServiceProvider,選擇性地啟用服務建立和範圍驗證。
|
BuildServiceProvider(IServiceCollection, Boolean)
|
從所提供 IServiceCollection 建立包含服務的 ServiceProvider,選擇性地啟用範圍驗證。
|
AddHostedService<THostedService>(IServiceCollection)
|
為指定的類型新增 IHostedService 註冊。
|
AddHostedService<THostedService>(IServiceCollection, Func<IServiceProvider,THostedService>)
|
為指定的類型新增 IHostedService 註冊。
|
AddKeyedScoped(IServiceCollection, Type, Object)
|
將 serviceType 中指定類型的範圍服務,新增至指定的 IServiceCollection。
|
AddKeyedScoped(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
將 serviceType 中指定類型的範圍服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedScoped(IServiceCollection, Type, Object, Type)
|
將 serviceType 中指定類型的範圍服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddKeyedScoped<TService>(IServiceCollection, Object)
|
將 TService 中指定類型的範圍服務,新增至指定的 IServiceCollection。
|
AddKeyedScoped<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
將 TService 中指定類型的範圍服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object)
|
將 TService 中指定類型的範圍服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddKeyedScoped<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的範圍服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddKeyedSingleton(IServiceCollection, Type, Object)
|
將 serviceType 中指定類型的單一服務,新增至指定的 IServiceCollection。
|
AddKeyedSingleton(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
將 serviceType 中指定類型的單一服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedSingleton(IServiceCollection, Type, Object, Object)
|
將 serviceType 中指定類型的單一服務,以及 implementationInstance 中指定的執行個體,新增至指定的 IServiceCollection。
|
AddKeyedSingleton(IServiceCollection, Type, Object, Type)
|
將 serviceType 中指定類型的單一服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddKeyedSingleton<TService>(IServiceCollection, Object)
|
將 TService 中指定類型的單一服務,新增至指定的 IServiceCollection。
|
AddKeyedSingleton<TService>(IServiceCollection, Object, TService)
|
將 TService 中指定類型的單一服務,以及 implementationInstance 中指定的執行個體,新增至指定的 IServiceCollection。
|
AddKeyedSingleton<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
將 TService 中指定類型的單一服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object)
|
將 TService 中指定類型的單一服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddKeyedSingleton<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的單一服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddKeyedTransient(IServiceCollection, Type, Object)
|
將 serviceType 中指定類型的暫時性服務,新增至指定的 IServiceCollection。
|
AddKeyedTransient(IServiceCollection, Type, Object, Func<IServiceProvider,Object,Object>)
|
將 serviceType 中指定類型的暫時性服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedTransient(IServiceCollection, Type, Object, Type)
|
將 serviceType 中指定類型的暫時性服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddKeyedTransient<TService>(IServiceCollection, Object)
|
將 TService 中指定類型的暫時性服務,新增至指定的 IServiceCollection。
|
AddKeyedTransient<TService>(IServiceCollection, Object, Func<IServiceProvider,Object,TService>)
|
將 TService 中指定類型的暫時性服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object)
|
將 TService 中指定類型的暫時性服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddKeyedTransient<TService,TImplementation>(IServiceCollection, Object, Func<IServiceProvider,Object,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的暫時性服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddScoped(IServiceCollection, Type)
|
將 serviceType 中指定類型的範圍服務,新增至指定的 IServiceCollection。
|
AddScoped(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
將 serviceType 中指定類型的範圍服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddScoped(IServiceCollection, Type, Type)
|
將 serviceType 中指定類型的範圍服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddScoped<TService>(IServiceCollection)
|
將 TService 中指定類型的範圍服務,新增至指定的 IServiceCollection。
|
AddScoped<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
將 TService 中指定類型的範圍服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddScoped<TService,TImplementation>(IServiceCollection)
|
將 TService 中指定類型的範圍服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddScoped<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的範圍服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddSingleton(IServiceCollection, Type)
|
將 serviceType 中指定類型的單一服務,新增至指定的 IServiceCollection。
|
AddSingleton(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
將 serviceType 中指定類型的單一服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddSingleton(IServiceCollection, Type, Object)
|
將 serviceType 中指定類型的單一服務,以及 implementationInstance 中指定的執行個體,新增至指定的 IServiceCollection。
|
AddSingleton(IServiceCollection, Type, Type)
|
將 serviceType 中指定類型的單一服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddSingleton<TService>(IServiceCollection)
|
將 TService 中指定類型的單一服務,新增至指定的 IServiceCollection。
|
AddSingleton<TService>(IServiceCollection, TService)
|
將 TService 中指定類型的單一服務,以及 implementationInstance 中指定的執行個體,新增至指定的 IServiceCollection。
|
AddSingleton<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
將 TService 中指定類型的單一服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddSingleton<TService,TImplementation>(IServiceCollection)
|
將 TService 中指定類型的單一服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddSingleton<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的單一服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddTransient(IServiceCollection, Type)
|
將 serviceType 中指定類型的暫時性服務,新增至指定的 IServiceCollection。
|
AddTransient(IServiceCollection, Type, Func<IServiceProvider,Object>)
|
將 serviceType 中指定類型的暫時性服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddTransient(IServiceCollection, Type, Type)
|
將 serviceType 中指定類型的暫時性服務,以及在 implementationType 中指定類型的實作,新增至指定的 IServiceCollection。
|
AddTransient<TService>(IServiceCollection)
|
將 TService 中指定類型的暫時性服務,新增至指定的 IServiceCollection。
|
AddTransient<TService>(IServiceCollection, Func<IServiceProvider,TService>)
|
將 TService 中指定類型的暫時性服務,以及 implementationFactory 中指定的 Factory,新增至指定的 IServiceCollection。
|
AddTransient<TService,TImplementation>(IServiceCollection)
|
將 TService 中指定類型的暫時性服務,以及在 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddTransient<TService,TImplementation>(IServiceCollection, Func<IServiceProvider,TImplementation>)
|
使用 implementationFactory 中指定的 Factory,將 TService 中指定類型的暫時性服務,以及 TImplementation 中指定的實作類型,新增至指定的 IServiceCollection。
|
AddDistributedSqlServerCache(IServiceCollection, Action<SqlServerCacheOptions>)
|
將 Microsoft SQL Server 分散式快取服務新增至指定的 IServiceCollection。
|
AddStackExchangeRedisCache(IServiceCollection, Action<RedisCacheOptions>)
|
將 Redis 分散式快取服務新增至指定的 IServiceCollection。
|
AddTcpEndpointProbe(IServiceCollection)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddTcpEndpointProbe(IServiceCollection, IConfigurationSection)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddTcpEndpointProbe(IServiceCollection, Action<TcpEndpointProbesOptions>)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddTcpEndpointProbe(IServiceCollection, String)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddTcpEndpointProbe(IServiceCollection, String, IConfigurationSection)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddTcpEndpointProbe(IServiceCollection, String, Action<TcpEndpointProbesOptions>)
|
如果服務被視為狀況良好,則使用 TCP 通訊埠註冊健康 IHealthCheck情況狀態報告。
|
AddSystemd(IServiceCollection)
|
指定服務描述項集合的合約。
|
AddWindowsService(IServiceCollection)
|
指定服務描述項集合的合約。
|
AddWindowsService(IServiceCollection, Action<WindowsServiceLifetimeOptions>)
|
指定服務描述項集合的合約。
|
ToFrozenDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
FrozenDictionary<TKey,TValue>根據指定的索引鍵選取器函式,從 IEnumerable<T> 建立 。
|
ToFrozenDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器和項目選取器函式,從 FrozenDictionary<TKey,TValue> 建立 IEnumerable<T>。
|
ToFrozenSet<T>(IEnumerable<T>, IEqualityComparer<T>)
|
使用 FrozenSet<T> 指定的值建立 。
|
AsReadOnly<T>(IList<T>)
|
傳回指定清單的唯讀 ReadOnlyCollection<T> 包裝函式。
|
ToImmutableArray<TSource>(IEnumerable<TSource>)
|
從指定的集合建立不可變的陣列。
|
ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
從現有的項目集合建構不可變的字典,將轉換函式套用至來源索引鍵。
|
ToImmutableDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據序列的某些轉換來建構不可變的字典。
|
ToImmutableDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,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>, IEqualityComparer<TKey>,
IEqualityComparer<TValue>)
|
列舉及轉換序列,並使用指定的索引鍵與值比較子產生其內容的不可變字典。
|
ToImmutableHashSet<TSource>(IEnumerable<TSource>)
|
列舉序列,並產生其內容之不可變雜湊集。
|
ToImmutableHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
|
列舉序列、產生其內容之不可變雜湊集,且針對集合類型使用指定的相等比較子。
|
ToImmutableList<TSource>(IEnumerable<TSource>)
|
列舉序列,並產生其內容的不可變清單。
|
ToImmutableSortedDictionary<TSource,TKey,TValue>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,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>, IComparer<TKey>, IEqualityComparer<TValue>)
|
列舉及轉換序列,並使用指定的索引鍵與值比較子產生不可變的排序字典作為內容。
|
ToImmutableSortedSet<TSource>(IEnumerable<TSource>)
|
列舉序列,並產生其內容的不可變排序資料集。
|
ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)
|
列舉序列、產生其內容的不可變排序資料集,並使用指定的比較子。
|
CopyToDataTable<T>(IEnumerable<T>)
|
根據輸入 DataTable 物件 (其中泛型參數 T 為 DataRow) 傳回包含 IEnumerable<T> 物件複本的 DataRow。
|
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)
|
根據輸入 DataRow 物件 (其中泛型參數 T 為 DataTable),將 IEnumerable<T> 物件複製到指定的 DataRow。
|
CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)
|
根據輸入 DataRow 物件 (其中泛型參數 T 為 DataTable),將 IEnumerable<T> 物件複製到指定的 DataRow。
|
Aggregate<TSource>(IEnumerable<TSource>, Func<TSource,TSource,TSource>)
|
將累加函式套用到序列上。
|
Aggregate<TSource,TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>)
|
將累加函式套用到序列上。 使用指定的初始值做為初始累加值。
|
Aggregate<TSource,TAccumulate,TResult>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, Func<TAccumulate,TResult>)
|
將累加函式套用到序列上。 使用指定的值做為初始累加值,並使用指定的函式來選取結果值。
|
AggregateBy<TSource,TKey,TAccumulate>(IEnumerable<TSource>, Func<TSource,
TKey>, TAccumulate, Func<TAccumulate,TSource,TAccumulate>, IEqualityComparer<TKey>)
|
指定服務描述項集合的合約。
|
AggregateBy<TSource,TKey,TAccumulate>(IEnumerable<TSource>, Func<TSource,
TKey>, Func<TKey,TAccumulate>, Func<TAccumulate,TSource,TAccumulate>,
IEqualityComparer<TKey>)
|
指定服務描述項集合的合約。
|
All<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
判斷序列的所有項目是否全都符合條件。
|
Any<TSource>(IEnumerable<TSource>)
|
判斷序列是否包含任何項目。
|
Any<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
判斷序列的任何項目是否符合條件。
|
Append<TSource>(IEnumerable<TSource>, TSource)
|
將值附加在序列結尾。
|
AsEnumerable<TSource>(IEnumerable<TSource>)
|
傳回 IEnumerable<T> 類型的輸入。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Decimal 值序列的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Double 值序列的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Int32 值序列的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Int64 值序列的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Decimal 值的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Double 值的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int32 值的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int64 值的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Single 值的平均值。
|
Average<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Single 值序列的平均值。
|
Cast<TResult>(IEnumerable)
|
將 IEnumerable 的項目轉換成指定的型別。
|
Chunk<TSource>(IEnumerable<TSource>, Int32)
|
將序列的專案分割成大小上限 size 的區塊。
|
Concat<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
|
串連兩個序列。
|
Contains<TSource>(IEnumerable<TSource>, TSource)
|
使用預設的相等比較子 (Comparer) 來判斷序列是否包含指定的項目。
|
Contains<TSource>(IEnumerable<TSource>, TSource, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 來判斷序列是否包含指定的項目。
|
Count<TSource>(IEnumerable<TSource>)
|
傳回序列中的項目數。
|
Count<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回數字,代表指定之序列中符合條件的項目數目。
|
CountBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
指定服務描述項集合的合約。
|
DefaultIfEmpty<TSource>(IEnumerable<TSource>)
|
傳回指定之序列的項目;如果序列是空的,則傳回單一集合中型別參數的預設值。
|
DefaultIfEmpty<TSource>(IEnumerable<TSource>, TSource)
|
傳回指定之序列的項目;如果序列是空的,則傳回單一集合中型別參數的預設值。
|
Distinct<TSource>(IEnumerable<TSource>)
|
使用預設的相等比較子來比較值,以便從序列傳回獨特的項目。
|
Distinct<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 來比較值,以便從序列傳回獨特的項目。
|
DistinctBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,從序列傳回不同的專案。
|
DistinctBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式,並使用指定的比較子比較索引鍵,從序列傳回不同的專案。
|
ElementAt<TSource>(IEnumerable<TSource>, Index)
|
傳回位於序列中指定索引處的項目。
|
ElementAt<TSource>(IEnumerable<TSource>, Int32)
|
傳回位於序列中指定索引處的項目。
|
ElementAtOrDefault<TSource>(IEnumerable<TSource>, Index)
|
傳回位於序列中指定索引處的元素;如果索引超出範圍,則傳回預設值。
|
ElementAtOrDefault<TSource>(IEnumerable<TSource>, Int32)
|
傳回位於序列中指定索引處的元素;如果索引超出範圍,則傳回預設值。
|
Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
|
使用預設相等比較子來比較值,以便產生兩個序列的差異。
|
Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 來比較值,以便產生兩個序列的差異。
|
ExceptBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合差異。
|
ExceptBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合差異。
|
First<TSource>(IEnumerable<TSource>)
|
傳回序列的第一個項目。
|
First<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合指定條件的第一個元素。
|
FirstOrDefault<TSource>(IEnumerable<TSource>)
|
傳回序列的第一個元素;如果序列中沒有包含任何元素,則傳回預設值。
|
FirstOrDefault<TSource>(IEnumerable<TSource>, TSource)
|
傳回序列的第一個專案,如果序列不包含任何專案,則傳回指定的預設值。
|
FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合條件的第一個元素;如果找不到這類元素,則傳回預設值。
|
FirstOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
|
傳回符合條件之序列的第一個專案,如果沒有找到這類專案,則傳回指定的預設值。
|
GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
依據指定的索引鍵選擇器函式來群組序列的項目。
|
GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並使用指定的比較子來比較索引鍵。
|
GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並使用指定的函式來投影每個群組的項目。
|
GroupBy<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
|
依據索引鍵選取器函式來群組序列中的項目。 索引鍵是使用比較子來進行比較,而每個群組的項目都是利用指定的函式進行投影。
|
GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。
|
GroupBy<TSource,TKey,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TKey,IEnumerable<TSource>,TResult>, IEqualityComparer<TKey>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 索引鍵是使用指定的比較子來進行比較。
|
GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,TResult>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 每個群組的項目都是利用指定的函式進行投影。
|
GroupBy<TSource,TKey,TElement,TResult>(IEnumerable<TSource>, Func<TSource,
TKey>, Func<TSource,TElement>, Func<TKey,IEnumerable<TElement>,
TResult>, IEqualityComparer<TKey>)
|
依據指定的索引鍵選取器函式來群組序列的項目,並從每個群組及其索引鍵建立結果值。 索引鍵值是使用指定的比較子來進行比較,而每個群組的項目則都是利用指定的函式進行投影。
|
GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>,
Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,
TResult>)
|
根據索引鍵相等與否,將兩個序列的項目相互關聯,並群組產生的結果。 預設的相等比較子是用於比較索引鍵。
|
GroupJoin<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>,
Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,IEnumerable<TInner>,
TResult>, IEqualityComparer<TKey>)
|
根據索引鍵相等與否,將兩個序列的項目相互關聯,並群組產生的結果。 指定的 IEqualityComparer<T> 是用於比較索引鍵。
|
Index<TSource>(IEnumerable<TSource>)
|
指定服務描述項集合的合約。
|
Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
|
使用預設相等比較子來比較值,以便產生兩個序列的交集。
|
Intersect<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 來比較值,以便產生兩個序列的交集。
|
IntersectBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合交集。
|
IntersectBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TKey>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合交集。
|
Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>, Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>)
|
根據相符索引鍵,將兩個序列的項目相互關聯。 預設的相等比較子是用於比較索引鍵。
|
Join<TOuter,TInner,TKey,TResult>(IEnumerable<TOuter>, IEnumerable<TInner>,
Func<TOuter,TKey>, Func<TInner,TKey>, Func<TOuter,TInner,TResult>,
IEqualityComparer<TKey>)
|
根據相符索引鍵,將兩個序列的項目相互關聯。 指定的 IEqualityComparer<T> 是用於比較索引鍵。
|
Last<TSource>(IEnumerable<TSource>)
|
傳回序列的最後一個項目。
|
Last<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合指定之條件的最後一個元素。
|
LastOrDefault<TSource>(IEnumerable<TSource>)
|
傳回序列的最後一個元素;如果序列中沒有包含任何元素,則傳回預設值。
|
LastOrDefault<TSource>(IEnumerable<TSource>, TSource)
|
傳回序列的最後一個專案,如果序列不包含任何專案,則傳回指定的預設值。
|
LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合條件的最後一個元素;如果找不到這類元素,則傳回預設值。
|
LastOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
|
傳回符合條件之序列的最後一個專案,如果沒有找到這類專案,則傳回指定的預設值。
|
LongCount<TSource>(IEnumerable<TSource>)
|
傳回代表序列中項目總數的 Int64。
|
LongCount<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回 Int64,其代表序列中符合條件的項目數目。
|
Max<TSource>(IEnumerable<TSource>)
|
傳回泛型序列中的最大值。
|
Max<TSource>(IEnumerable<TSource>, IComparer<TSource>)
|
傳回泛型序列中的最大值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的 Decimal 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的 Double 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的 Int32 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的 Int64 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Decimal 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Double 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Int32 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Int64 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的可為 Null 之 Single 值。
|
Max<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
|
在序列的每個項目上叫用轉換函式,並傳回最大的 Single 值。
|
Max<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
|
在泛型序列的每個項目上叫用轉換函式,並傳回最大的結果值。
|
MaxBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,傳回泛型序列中的最大值。
|
MaxBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
|
根據指定的索引鍵選取器函式和索引鍵比較子,傳回泛型序列中的最大值。
|
Min<TSource>(IEnumerable<TSource>)
|
傳回泛型序列中的最小值。
|
Min<TSource>(IEnumerable<TSource>, IComparer<TSource>)
|
傳回泛型序列中的最小值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的 Decimal 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的 Double 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的 Int32 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的 Int64 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Decimal 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Double 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Int32 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Int64 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的可為 Null 之 Single 值。
|
Min<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
|
在序列的每個項目上叫用轉換函式,並傳回最小的 Single 值。
|
Min<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
|
在泛型序列的每個項目上叫用轉換函式,並傳回最小的結果值。
|
MinBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,傳回泛型序列中的最小值。
|
MinBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
|
根據指定的索引鍵選取器函式和索引鍵比較子,傳回泛型序列中的最小值。
|
OfType<TResult>(IEnumerable)
|
根據指定的型別來篩選 IEnumerable 的項目。
|
Order<T>(IEnumerable<T>)
|
依遞增順序排序序列中的項目。
|
Order<T>(IEnumerable<T>, IComparer<T>)
|
依遞增順序排序序列中的項目。
|
OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
依據索引鍵,按遞增順序排序序列中的項目。
|
OrderBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
|
使用指定的比較子,依遞增順序排序序列中的項目。
|
OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
依據索引鍵,按遞減順序排序序列中的項目。
|
OrderByDescending<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IComparer<TKey>)
|
使用指定的比較子,依遞減順序排序序列中的項目。
|
OrderDescending<T>(IEnumerable<T>)
|
依遞減順序排序序列中的項目。
|
OrderDescending<T>(IEnumerable<T>, IComparer<T>)
|
依遞減順序排序序列中的項目。
|
Prepend<TSource>(IEnumerable<TSource>, TSource)
|
將值新增至序列的開頭。
|
Reverse<TSource>(IEnumerable<TSource>)
|
反轉序列中項目的排序方向。
|
Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,TResult>)
|
將序列的每個元素規劃成一個新的表單。
|
Select<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,TResult>)
|
透過加入項目的索引,將序列的每個項目投影成新的表單。
|
SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TResult>>)
|
將序列的每個項目都投影成 IEnumerable<T>,並將產生的序列簡化成單一序列。
|
SelectMany<TSource,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TResult>>)
|
將序列的每個項目都投影成 IEnumerable<T>,並將產生的序列簡化成單一序列。 各來源項目的索引是在該項目的投影表單中使用。
|
SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
|
將序列的每個項目投影為 IEnumerable<T>、將產生的序列簡化成單一序列,並對其中的每個項目叫用結果選取器函式。
|
SelectMany<TSource,TCollection,TResult>(IEnumerable<TSource>, Func<TSource,Int32,IEnumerable<TCollection>>, Func<TSource,TCollection,TResult>)
|
將序列的每個項目投影為 IEnumerable<T>、將產生的序列簡化成單一序列,並對其中的每個項目叫用結果選取器函式。 各來源項目的索引是在該項目的中繼投影表單中使用。
|
SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
|
使用項目之型別的預設相等比較子來比較項目,以判斷兩個序列是否相等。
|
SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 來比較項目,以判斷兩個序列是否相等。
|
Single<TSource>(IEnumerable<TSource>)
|
傳回序列的唯一一個元素,如果序列中不是正好一個元素,則擲回例外狀況。
|
Single<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合指定之條件的唯一一個元素,如果有一個以上這類元素,則擲回例外狀況。
|
SingleOrDefault<TSource>(IEnumerable<TSource>)
|
傳回序列的唯一一個項目,如果序列是空白,則為預設值,如果序列中有一個以上的項目,這個方法就會擲回例外狀況。
|
SingleOrDefault<TSource>(IEnumerable<TSource>, TSource)
|
傳回序列的唯一元素,如果序列是空的,則傳回指定的預設值;如果序列中有一個以上的元素,這個方法就會擲回例外狀況。
|
SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
傳回序列中符合指定之條件的唯一一個元素,如果沒有這類元素,則為預設值,如果有一個以上的元素符合條件,這個方法就會擲回例外狀況。
|
SingleOrDefault<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>, TSource)
|
傳回符合指定條件之序列的唯一元素,如果沒有這類專案,則傳回指定的預設值;如果多個元素符合條件,這個方法就會擲回例外狀況。
|
Skip<TSource>(IEnumerable<TSource>, Int32)
|
略過序列中指定的項目數目,然後傳回其餘項目。
|
SkipLast<TSource>(IEnumerable<TSource>, Int32)
|
傳回新的可列舉集合,其包含已省略來源集合最後 count 元素的所有 source 元素。
|
SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
只要指定的條件為 true,便略過序列中的項目,然後傳回其餘項目。
|
SkipWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
|
只要指定的條件為 true,便略過序列中的項目,然後傳回其餘項目。 項目的索引是用於述詞功能的邏輯中。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Decimal>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Decimal 值序列的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Double>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Double 值序列的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int32>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Int32 值序列的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Int64>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Int64 值序列的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Decimal>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Decimal 值的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Double>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Double 值的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int32>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int32 值的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Int64>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Int64 值的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Nullable<Single>>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得可為 Null 之 Single 值的總和。
|
Sum<TSource>(IEnumerable<TSource>, Func<TSource,Single>)
|
計算在輸入序列中各項目上叫用轉換函式後所取得之 Single 值序列的總和。
|
Take<TSource>(IEnumerable<TSource>, Int32)
|
從序列開頭傳回指定的連續項目數目。
|
Take<TSource>(IEnumerable<TSource>, Range)
|
傳回序列中連續專案的指定範圍。
|
TakeLast<TSource>(IEnumerable<TSource>, Int32)
|
傳回新的可列舉集合,其包含 source 的最後 count 元素。
|
TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
只要指定的條件為 true,就會傳回序列中的項目。
|
TakeWhile<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
|
只要指定的條件為 true,就會傳回序列中的項目。 項目的索引是用於述詞功能的邏輯中。
|
ToArray<TSource>(IEnumerable<TSource>)
|
從 IEnumerable<T> 建立陣列。
|
ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選擇器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>。
|
ToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式和索引鍵比較子,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>。
|
ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
|
根據指定的索引鍵選取器和項目選取器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>。
|
ToDictionary<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式、比較子和項目選取器函式,從 Dictionary<TKey,TValue> 建立 IEnumerable<T>。
|
ToHashSet<TSource>(IEnumerable<TSource>)
|
從 IEnumerable<T> 建立 HashSet<T>。
|
ToHashSet<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用比較金鑰的 comparer 從 IEnumerable<T> 建立 HashSet<T>。
|
ToList<TSource>(IEnumerable<TSource>)
|
從 IEnumerable<T> 建立 List<T>。
|
ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選擇器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>。
|
ToLookup<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式和索引鍵比較子,從 Lookup<TKey,TElement> 建立 IEnumerable<T>。
|
ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>)
|
根據指定的索引鍵選取器和項目選取器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>。
|
ToLookup<TSource,TKey,TElement>(IEnumerable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式、比較子和項目選取器函式,從 Lookup<TKey,TElement> 建立 IEnumerable<T>。
|
TryGetNonEnumeratedCount<TSource>(IEnumerable<TSource>, Int32)
|
嘗試判斷序列中的元素數目,而不強制列舉。
|
Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
|
使用預設相等比較值來比較值,以便產生兩個序列的集合等位。
|
Union<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
|
使用指定的 IEqualityComparer<T> 產生兩個序列的集合等位。
|
UnionBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TSource>, Func<TSource,TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合聯集。
|
UnionBy<TSource,TKey>(IEnumerable<TSource>, IEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>)
|
根據指定的索引鍵選取器函式,產生兩個序列的集合聯集。
|
Where<TSource>(IEnumerable<TSource>, Func<TSource,Boolean>)
|
根據述詞來篩選值序列。
|
Where<TSource>(IEnumerable<TSource>, Func<TSource,Int32,Boolean>)
|
根據述詞來篩選值序列。 述詞函式的邏輯中使用各項目的索引。
|
Zip<TFirst,TSecond>(IEnumerable<TFirst>, IEnumerable<TSecond>)
|
從兩個指定序列中的元素產生一系列元組。
|
Zip<TFirst,TSecond,TThird>(IEnumerable<TFirst>, IEnumerable<TSecond>, IEnumerable<TThird>)
|
產生具有來自三個指定序列之元素的元組序列。
|
Zip<TFirst,TSecond,TResult>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst,TSecond,TResult>)
|
將指定的函式套用至兩個序列的對應項目,產生結果的序列。
|
AsParallel(IEnumerable)
|
啟用查詢的平行化作業。
|
AsParallel<TSource>(IEnumerable<TSource>)
|
啟用查詢的平行化作業。
|
AsQueryable(IEnumerable)
|
將 IEnumerable 轉換成 IQueryable。
|
AsQueryable<TElement>(IEnumerable<TElement>)
|
將泛型 IEnumerable<T> 轉換成泛型 IQueryable<T>。
|
Ancestors<T>(IEnumerable<T>)
|
傳回包含來源集合中每個節點祖系的項目集合。
|
Ancestors<T>(IEnumerable<T>, XName)
|
傳回包含來源集合中每個節點祖系的已篩選項目集合。 集合中只會包含具有相符之 XName 的項目。
|
DescendantNodes<T>(IEnumerable<T>)
|
傳回來源集合中每個文件和項目之子代節點的集合。
|
Descendants<T>(IEnumerable<T>)
|
傳回包含來源集合中每個項目和文件之子代項目的項目集合。
|
Descendants<T>(IEnumerable<T>, XName)
|
傳回已篩選的項目集合,其中包含來源集合中每個項目和文件的子代項目。 集合中只會包含具有相符之 XName 的項目。
|
Elements<T>(IEnumerable<T>)
|
傳回來源集合中每個項目和文件的子項目集合。
|
Elements<T>(IEnumerable<T>, XName)
|
傳回來源集合中每個項目和文件的已篩選子項目集合。 集合中只會包含具有相符之 XName 的項目。
|
InDocumentOrder<T>(IEnumerable<T>)
|
傳回包含來源集合中所有節點的節點集合,依據文件順序來排序。
|
Nodes<T>(IEnumerable<T>)
|
傳回來源集合中每個文件和項目的子節點集合。
|
Remove<T>(IEnumerable<T>)
|
在來源集合中,從每一個節點的父節點移除這些節點。
|