Esempio n. 1
0
 public static string GetAssetsForClientKey(this CacheSettings settings, string clientId, bool isIosDevice)
 {
     return(string.Format(settings.AssetsForClientCacheKeyPattern, clientId, isIosDevice));
 }
Esempio n. 2
0
 public static string GetOrderBookKey(this CacheSettings settings, string assetPairId, bool isBuy)
 {
     return(string.Format(settings.OrderBooksCacheKeyPattern, assetPairId, isBuy));
 }