Свойство | Тип | Описание | |
---|---|---|---|
CacheKey | string | ||
GetLegacyMergeFields | object>.Dictionary | ||
GetMergeFields | object>.Dictionary | ||
GetValue | string | ||
GlobalAttributesCache | System | ||
Load | |||
Load2 | |||
ResolveConfigValue | string |
Метод | Описание | |
---|---|---|
Flush ( ) : void |
Removes Global Attributes from cache
|
|
GetOrAddExisting ( string key, Func |
Gets the existing or a new item from cache
|
|
GetValue ( string key, |
Gets the Global Attribute values for the specified key.
|
|
GetValueFormatted ( string key, |
Gets the value formatted.
|
|
Read ( ) : |
Returns Global Attributes from cache. If they are not already in cache, they will be read and added to cache
|
|
Read ( |
Reads the specified rock context.
|
|
SetValue ( string key, string value, bool saveValue ) : void |
Sets the value.
|
|
SetValue ( string key, string value, bool saveValue, |
Sets the value.
|
|
Value ( string key ) : string |
Returns the global attribute value for the given key.
|
Метод | Описание | |
---|---|---|
CacheKey ( ) : string | ||
GetLegacyMergeFields ( Person currentPerson ) : object>.Dictionary |
Gets the legacy global attribute values as merge fields for dotLiquid merging. Note: You should use LavaHelper.GetCommonMergeFields instead of this
|
|
GetMergeFields ( Person currentPerson ) : object>.Dictionary |
||
GetValue ( string key, Rock.Web.Cache.AttributeCache attributeCache, |
||
GlobalAttributesCache ( ) : System |
Use Static Read() method to instantiate a new Global Attributes object
|
|
Load ( |
||
Load2 ( |
||
ResolveConfigValue ( string value, object>.Dictionary |
Resolves the config value.
|
public static GetOrAddExisting ( string key, Func |
||
key | string | The key. |
valueFactory | Func |
The value factory. |
Результат |
public GetValue ( string key, |
||
key | string | The key. |
rockContext | The rock context. | |
Результат | string |
public GetValueFormatted ( string key, |
||
key | string | The key. |
rockContext | The rock context. | |
Результат | string |
public static Read ( ) : |
||
Результат |
public static Read ( |
||
rockContext | The rock context. | |
Результат |
public SetValue ( string key, string value, bool saveValue ) : void | ||
key | string | The key. |
value | string | The value. |
saveValue | bool | if set to |
Результат | void |
public SetValue ( string key, string value, bool saveValue, |
||
key | string | The key. |
value | string | The value. |
saveValue | bool | if set to |
rockContext | The rock context. | |
Результат | void |
public static Value ( string key ) : string | ||
key | string | |
Результат | string |