C# Класс Microsoft.Extensions.DependencyInjection.AzureTableStorageCacheExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
AddAzureTableStorageCache ( this services, string connectionString, string tableName, string partitionKey ) : IServiceCollection

Add azure table storage cache as an IDistributedCache to the service container

AddAzureTableStorageCache ( this services, string accountName, string accountKey, string tableName, string partitionKey ) : IServiceCollection

Add azure table storage cache as an IDistributedCache to the service container

Приватные методы

Метод Описание
checkTableData ( string tableName, string partitionkey ) : void

Описание методов

AddAzureTableStorageCache() публичный статический Метод

Add azure table storage cache as an IDistributedCache to the service container
public static AddAzureTableStorageCache ( this services, string connectionString, string tableName, string partitionKey ) : IServiceCollection
services this
connectionString string The connection string of your account (can be found in the preview portal)
tableName string the name of the table you wish to use. If the table doesn't exist it will be created.
partitionKey string the partition key you would like to use
Результат IServiceCollection

AddAzureTableStorageCache() публичный статический Метод

Add azure table storage cache as an IDistributedCache to the service container
public static AddAzureTableStorageCache ( this services, string accountName, string accountKey, string tableName, string partitionKey ) : IServiceCollection
services this
accountName string the name of your storage account
accountKey string the key of your storage account
tableName string the name of the table you wish to use. If the table doesn't exist it will be created.
partitionKey string the partition key you would like to use
Результат IServiceCollection