C# Класс Rock.Web.SystemSettings

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CacheKey string
Read SystemSettings
SystemSettings System

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

Метод Описание
Flush ( ) : void

Flushes this instance.

GetRockInstanceId ( ) : System.Guid

Gets the RockInstanceId for this particular installation.

GetValue ( string key ) : string

Gets the Global Attribute values for the specified key.

SetValue ( string key, string value ) : void

Sets the value.

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

Метод Описание
CacheKey ( ) : string
Read ( ) : SystemSettings

Returns Global Attributes from cache. If they are not already in cache, they will be read and added to cache

SystemSettings ( ) : System

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

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

Flushes this instance.
public static Flush ( ) : void
Результат void

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

Gets the RockInstanceId for this particular installation.
public static GetRockInstanceId ( ) : System.Guid
Результат System.Guid

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

Gets the Global Attribute values for the specified key.
public static GetValue ( string key ) : string
key string The key.
Результат string

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

Sets the value.
public static SetValue ( string key, string value ) : void
key string The key.
value string The value.
Результат void