Beispiel #1
0
 private static SystemSettings Get()
 {
     return(RockCache.GetOrAddExisting(CacheKey, () => LoadSettings()) as SystemSettings);
 }
 /// <summary>
 /// Gets the cached triggers.
 /// </summary>
 /// <returns></returns>
 public static List <GroupMemberWorkflowTrigger> GetCachedTriggers()
 {
     return(RockCache.GetOrAddExisting(CACHE_KEY, () => LoadCache()) as List <GroupMemberWorkflowTrigger>);
 }
 /// <summary>
 /// Gets the cached triggers.
 /// </summary>
 /// <returns></returns>
 public static List <ConnectionWorkflow> GetCachedTriggers()
 {
     return(RockCache.GetOrAddExisting(CACHE_KEY, () => LoadCache()) as List <ConnectionWorkflow>);
 }