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