Property | Type | Description | |
---|---|---|---|
CacheKey | string | ||
GetLegacyMergeFields | object>.Dictionary | ||
GetMergeFields | object>.Dictionary | ||
GetValue | string | ||
GlobalAttributesCache | System | ||
Load | |||
Load2 | |||
ResolveConfigValue | string |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return |
public GetValue ( string key, |
||
key | string | The key. |
rockContext | The rock context. | |
return | string |
public GetValueFormatted ( string key, |
||
key | string | The key. |
rockContext | The rock context. | |
return | string |
public static Read ( ) : |
||
return |
public static Read ( |
||
rockContext | The rock context. | |
return |
public SetValue ( string key, string value, bool saveValue ) : void | ||
key | string | The key. |
value | string | The value. |
saveValue | bool | if set to |
return | 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. | |
return | void |