/// <summary> /// 注册 CacheRefreshBase 到执行队列中 /// </summary> /// <param name="funRefresh"></param> public void Register(CacheRefreshBase funRefresh) { if (funRefresh == null) { throw new ArgumentNullException("Arch.CFramework.RefreshCacheManager.Register方法参数不允许为空"); } Type type = funRefresh.GetType(); funs.TryAdd(type, funRefresh); }
internal string GetFullName(CacheRefreshBase funRefresh) { return funRefresh.GetType().FullName.ToLowerInvariant().Replace(".", "-"); }