C# 클래스 Microsoft.AspNet.WebHooks.AzureWebHookStore

상속: Microsoft.AspNet.WebHooks.WebHookStore
파일 보기 프로젝트 열기: aspnet/WebHooks 1 사용 예제들

공개 메소드들

메소드 설명
AzureWebHookStore ( IStorageManager manager, SettingsDictionary settings, IDataProtector protector, ILogger logger ) : System

Initializes a new instance of the AzureWebHookStore class with the given manager, settings, protector, and logger. Using this constructor, the data will be encrypted using the provided protector.

AzureWebHookStore ( IStorageManager manager, SettingsDictionary settings, ILogger logger ) : System

Initializes a new instance of the AzureWebHookStore class with the given manager, settings, and logger. Using this constructor, the data will not be encrypted while persisted to Azure Storage.

CreateStore ( ILogger logger ) : IWebHookStore

Provides a static method for creating a standalone AzureWebHookStore instance which will encrypt the data to be stored using IDataProtector.

CreateStore ( ILogger logger, bool encryptData ) : IWebHookStore

Provides a static method for creating a standalone AzureWebHookStore instance.

DeleteAllWebHooksAsync ( string user ) : System.Threading.Tasks.Task
DeleteWebHookAsync ( string user, string id ) : Task
GetAllWebHooksAsync ( string user ) : Task>
InsertWebHookAsync ( string user, WebHook webHook ) : Task
LookupWebHookAsync ( string user, string id ) : Task
QueryWebHooksAcrossAllUsersAsync ( IEnumerable actions, Func predicate ) : Task>
QueryWebHooksAsync ( string user, IEnumerable actions, Func predicate ) : Task>
UpdateWebHookAsync ( string user, WebHook webHook ) : Task

비공개 메소드들

메소드 설명
ConvertFromWebHook ( string partitionKey, string rowKey, WebHook webHook ) : Microsoft.WindowsAzure.Storage.Table.DynamicTableEntity
ConvertToWebHook ( Microsoft.WindowsAzure.Storage.Table.DynamicTableEntity entity ) : WebHook
DefaultPredicate ( WebHook webHook, string user ) : bool
GetStoreResult ( Microsoft.WindowsAzure.Storage.Table.TableResult result ) : StoreResult

메소드 상세

AzureWebHookStore() 공개 메소드

Initializes a new instance of the AzureWebHookStore class with the given manager, settings, protector, and logger. Using this constructor, the data will be encrypted using the provided protector.
public AzureWebHookStore ( IStorageManager manager, SettingsDictionary settings, IDataProtector protector, ILogger logger ) : System
manager IStorageManager
settings SettingsDictionary
protector IDataProtector
logger ILogger
리턴 System

AzureWebHookStore() 공개 메소드

Initializes a new instance of the AzureWebHookStore class with the given manager, settings, and logger. Using this constructor, the data will not be encrypted while persisted to Azure Storage.
public AzureWebHookStore ( IStorageManager manager, SettingsDictionary settings, ILogger logger ) : System
manager IStorageManager
settings SettingsDictionary
logger ILogger
리턴 System

CreateStore() 공개 정적인 메소드

Provides a static method for creating a standalone AzureWebHookStore instance which will encrypt the data to be stored using IDataProtector.
public static CreateStore ( ILogger logger ) : IWebHookStore
logger ILogger The instance to use.
리턴 IWebHookStore

CreateStore() 공개 정적인 메소드

Provides a static method for creating a standalone AzureWebHookStore instance.
public static CreateStore ( ILogger logger, bool encryptData ) : IWebHookStore
logger ILogger The instance to use.
encryptData bool Indicates whether the data should be encrypted using while persisted.
리턴 IWebHookStore

DeleteAllWebHooksAsync() 공개 메소드

public DeleteAllWebHooksAsync ( string user ) : System.Threading.Tasks.Task
user string
리턴 System.Threading.Tasks.Task

DeleteWebHookAsync() 공개 메소드

public DeleteWebHookAsync ( string user, string id ) : Task
user string
id string
리턴 Task

GetAllWebHooksAsync() 공개 메소드

public GetAllWebHooksAsync ( string user ) : Task>
user string
리턴 Task>

InsertWebHookAsync() 공개 메소드

public InsertWebHookAsync ( string user, WebHook webHook ) : Task
user string
webHook WebHook
리턴 Task

LookupWebHookAsync() 공개 메소드

public LookupWebHookAsync ( string user, string id ) : Task
user string
id string
리턴 Task

QueryWebHooksAcrossAllUsersAsync() 공개 메소드

public QueryWebHooksAcrossAllUsersAsync ( IEnumerable actions, Func predicate ) : Task>
actions IEnumerable
predicate Func
리턴 Task>

QueryWebHooksAsync() 공개 메소드

public QueryWebHooksAsync ( string user, IEnumerable actions, Func predicate ) : Task>
user string
actions IEnumerable
predicate Func
리턴 Task>

UpdateWebHookAsync() 공개 메소드

public UpdateWebHookAsync ( string user, WebHook webHook ) : Task
user string
webHook WebHook
리턴 Task