BaseBusiness 清空所有缓存 - StaticClearAllCache
2017-03-05 07:59:37 访问(1896) 赞(0) 踩(0)
/// <summary>
/// BaseBusiness 清空所有缓存 - StaticClearAllCache
/// </summary>
public static void StaticClearAllCache()
{
Dictionary<string, BaseBusiness> theList
=
BaseBusinessInstanceDictionary;
lock (CodeLock.instance)
{
foreach (BaseBusiness bll in theList.Values)
{
if (bll == null)
continue;
try
{
bll.ClearCache();
}
catch
{
}
}
}
}
标签:
BaseBusiness 清空所有缓存 - StaticClearAllCache 


上一条:
下一条:
相关评论
发表评论