private CacheScope ConvertToLocalScope(CacheScopeOption scope) { return((CacheScope)(int)scope); }
public void Insert(string key, object value, string[] tags, TimeSpan timeout, CacheScopeOption scope) { CacheService.Put(key, value, ConvertToLocalScope(scope), tags ?? new string[0], timeout); }