DataProtectionCommonExtensions.CreateProtector 메서드

정의

오버로드

CreateProtector(IDataProtectionProvider, IEnumerable<String>)

IDataProtector 지정된 목적 목록을 만듭니다.

CreateProtector(IDataProtectionProvider, String, String[])

IDataProtector 지정된 목적 목록을 만듭니다.

CreateProtector(IDataProtectionProvider, IEnumerable<String>)

Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs

IDataProtector 지정된 목적 목록을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ CreateProtector(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ provider, System::Collections::Generic::IEnumerable<System::String ^> ^ purposes);
public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector (this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, System.Collections.Generic.IEnumerable<string> purposes);
static member CreateProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * seq<string> -> Microsoft.AspNetCore.DataProtection.IDataProtector
<Extension()>
Public Function CreateProtector (provider As IDataProtectionProvider, purposes As IEnumerable(Of String)) As IDataProtector

매개 변수

provider
IDataProtectionProvider

IDataProtectionProvider 용도 체인을 생성할 입니다.

purposes
IEnumerable<String>

목적 체인에 기여하는 목적 목록입니다. 이 목록에는 하나 이상의 요소가 포함되어야 하며 null 요소가 포함되지 않을 수 있습니다.

반환

IDataProtector 제공된 용도 체인에 연결된 입니다.

설명

이 메서드는 에 대한 여러 호출을 함께 연결하는 CreateProtector(String)편리한 방법입니다. 자세한 내용은 해당 메서드의 설명서를 참조하세요.

적용 대상

CreateProtector(IDataProtectionProvider, String, String[])

Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs
Source:
DataProtectionCommonExtensions.cs

IDataProtector 지정된 목적 목록을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ CreateProtector(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ provider, System::String ^ purpose, ... cli::array <System::String ^> ^ subPurposes);
public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector (this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, string purpose, params string[] subPurposes);
static member CreateProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * string * string[] -> Microsoft.AspNetCore.DataProtection.IDataProtector
<Extension()>
Public Function CreateProtector (provider As IDataProtectionProvider, purpose As String, ParamArray subPurposes As String()) As IDataProtector

매개 변수

provider
IDataProtectionProvider

IDataProtectionProvider 용도 체인을 생성할 입니다.

purpose
String

를 만드는 데 사용되는 기본 용도입니다 IDataProtector.

subPurposes
String[]

목적 체인에 기여하는 보조 목적의 선택적 목록입니다. 이 목록이 제공되면 null 요소를 포함할 수 없습니다.

반환

IDataProtector 제공된 용도 체인에 연결된 입니다.

설명

이 메서드는 에 대한 여러 호출을 함께 연결하는 CreateProtector(String)편리한 방법입니다. 자세한 내용은 해당 메서드의 설명서를 참조하세요.

적용 대상