Aracılığıyla paylaş


RedactionServiceCollectionExtensions.AddRedaction Yöntem

Tanım

Aşırı Yüklemeler

AddRedaction(IServiceCollection)

IRedactorProvider uygulamasını IServiceCollectionkaydeder.

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

IServiceCollection bir IRedactorProvider uygulamasını kaydeder ve kullanılabilir redaktörleri yapılandırılır.

AddRedaction(IServiceCollection)

Kaynak:
RedactionServiceCollectionExtensions.cs
Kaynak:
RedactionServiceCollectionExtensions.cs

IRedactorProvider uygulamasını IServiceCollectionkaydeder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddRedaction(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRedaction (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRedaction : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRedaction (services As IServiceCollection) As IServiceCollection

Parametreler

services
IServiceCollection

Yeniden eylem yapılandırmak için kullanılan IServiceCollection örneği.

Döndürülenler

servicesdeğeri.

Özel durumlar

services null.

Şunlara uygulanır

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

Kaynak:
RedactionServiceCollectionExtensions.cs
Kaynak:
RedactionServiceCollectionExtensions.cs

IServiceCollection bir IRedactorProvider uygulamasını kaydeder ve kullanılabilir redaktörleri yapılandırılır.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddRedaction(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^> ^ configure);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRedaction (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder> configure);
static member AddRedaction : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRedaction (services As IServiceCollection, configure As Action(Of IRedactionBuilder)) As IServiceCollection

Parametreler

services
IServiceCollection

Yeniden eylem yapılandırmak için kullanılan IServiceCollection örneği.

configure
Action<IRedactionBuilder>

IRedactionBuilderiçin yapılandırma işlevi.

Döndürülenler

servicesdeğeri.

Özel durumlar

configure null.

Şunlara uygulanır