Beispiel #1
0
 /// <summary>
 /// Used by async loaders to load the cache.
 /// </summary>
 internal static void SetCache(RoleList list)
 {
     _list = list;
 }
Beispiel #2
0
 /// <summary>
 /// Clears the in-memory RoleList cache
 /// so the list of roles is reloaded on
 /// next request.
 /// </summary>
 public static void InvalidateCache()
 {
     _list = null;
 }