private byte[] loadCacheFile() { lock (_syncPriceCacheFile) { if (PriceCacheFile.IsFile()) { return(PriceCacheFile.ReadAllBytes()); } return(null); } }
public bool CacheExists() { lock (_syncPriceCacheFile) return(PriceCacheFile.IsFile()); }
private byte[] loadCacheFile() { lock (_syncPriceCacheFile) { if (PriceCacheFile.IsFile()) { return(PriceCacheFile.ReadAllBytes()); } return(null); } }
public bool CacheExists() { lock (_syncPriceCacheFile) return(PriceCacheFile.IsFile()); }