public ApiAccountEntity GetAccountByAppId(ApiAccountType type, string appId) { return(_cacheManager.Get( CacheKey.Create(CacheGroups.Security, "ApiAccount", type.ToString(), appId), () => LoadApiAccount(type, appId))); }
public ApiAccountEntity GetAccountByAppId(ApiAccountType type, string appId) { var cacheKey = String.Join(":", "ApiAccount", type.ToString(), appId); return _cacheManager.Get(cacheKey, "PlatformRegion", () => LoadApiAccount(type, appId)); }
public ApiAccountEntity GetAccountByAppId(ApiAccountType type, string appId) { return _cacheManager.Get( CacheKey.Create(CacheGroups.Security, "ApiAccount", type.ToString(), appId), () => LoadApiAccount(type, appId)); }
public ApiAccountEntity GetAccountByAppId(ApiAccountType type, string appId) { var cacheKey = String.Join(":", "ApiAccount", type.ToString(), appId); return(_cacheManager.Get(cacheKey, "PlatformRegion", () => LoadApiAccount(type, appId))); }
public ApiAccountEntity GetAccountByAppId(ApiAccountType type, string appId) { var cacheKey = string.Join(":", "ApiAccount", type.ToString(), appId); return(_cacheManager.Get(cacheKey, SecurityConstants.CacheRegion, () => LoadApiAccount(type, appId))); }