C# Класс Microsoft.WindowsAzure.Commands.Utilities.CloudService.CacheConfigurationFactory

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

Private Properties

Свойство Тип Описание
AddCacheConfiguration void
AddClientDiagnosticLevelToConfig void
CacheClientCommonConfiguration void
CacheClientRole180 void
CacheRole180 void
CacheWorkerRole180 void
UpdateWebConfig void

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

Метод Описание
GetCacheRoleConfigurationAction ( string version ) : RoleInfo>.Action

Gets the configuration action to enable dedicated caching on a role for the given SDK version.

GetClientRoleConfigurationAction ( string version ) : Action

Gets the configuration action to enable using dedicated caching on a role for the given SDK version.

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

Метод Описание
AddCacheConfiguration ( RoleSettings cacheRoleSettings, string connectionString = "" ) : void
AddClientDiagnosticLevelToConfig ( RoleSettings roleSettings ) : void
CacheClientCommonConfiguration ( CloudServiceProject cloudServiceProject, string roleName, bool isWebRole, string cacheWorkerRole, Startup startup, Endpoints endpoints, LocalResources localResources, Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting &configurationSettings ) : void
CacheClientRole180 ( CloudServiceProject cloudServiceProject, string roleName, string cacheWorkerRoleName ) : void

Configuration action to enable using dedicated caching on the client role.

CacheRole180 ( string rootPath, RoleInfo cacheRoleInfo ) : void

Configuration required to enable dedicated caching on a given role.

CacheWorkerRole180 ( string rootPath, RoleInfo cacheRoleInfo ) : void
UpdateWebConfig ( string roleName, string cacheWorkerRoleName, string webConfigPath ) : void

Updates the web.cloud.config with to auto-discover the cache role.

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

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

Gets the configuration action to enable dedicated caching on a role for the given SDK version.
public static GetCacheRoleConfigurationAction ( string version ) : RoleInfo>.Action
version string The SDK version
Результат RoleInfo>.Action

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

Gets the configuration action to enable using dedicated caching on a role for the given SDK version.
public static GetClientRoleConfigurationAction ( string version ) : Action
version string The SDK version
Результат Action