次の方法で共有


RedactionServiceCollectionExtensions.AddRedaction メソッド

定義

オーバーロード

AddRedaction(IServiceCollection)

IServiceCollectionIRedactorProvider の実装を登録します。

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

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

AddRedaction(IServiceCollection)

ソース:
RedactionServiceCollectionExtensions.cs
ソース:
RedactionServiceCollectionExtensions.cs

IServiceCollectionIRedactorProvider の実装を登録します。

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

パラメーター

services
IServiceCollection

IServiceCollection のインスタンスは、編集の構成に使用されます。

戻り値

servicesの値。

例外

servicesnullです。

適用対象

AddRedaction(IServiceCollection, Action<IRedactionBuilder>)

ソース:
RedactionServiceCollectionExtensions.cs
ソース:
RedactionServiceCollectionExtensions.cs

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

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

パラメーター

services
IServiceCollection

IServiceCollection のインスタンスは、編集の構成に使用されます。

configure
Action<IRedactionBuilder>

IRedactionBuilderの構成関数。

戻り値

servicesの値。

例外

configurenullです。

適用対象