public static DeviceCache GetInstance() { if (_cacheInstance == null) { lock (_syncLock) { if (_cacheInstance == null) { _cacheInstance = new DeviceCache(); } } } return(_cacheInstance); }
public CacheOperation() { _cache = DeviceCache.GetInstance(); }