Пример #1
0
 public InMemorySnapshotStore(EngineConfiguration config)
     : base(config)
 {
     string key = _config.GetSnapshotPath(makeAbsolute:false);
     if (!_states.ContainsKey(key)) _states.Add(key, new InMemorySnapshotStoreState());
     _state = _states[key];
 }
Пример #2
0
 public InMemorySnapshotStore(EngineConfiguration config)
     : base(config)
 {
     string key = _config.Location.OfSnapshots;
     if (!_states.ContainsKey(key)) _states.Add(key, new InMemorySnapshotStoreState());
     _state = _states[key];
 }
Пример #3
0
        public InMemorySnapshotStore(EngineConfiguration config)
            : base(config)
        {
            string key = _config.GetSnapshotPath(makeAbsolute: false);

            if (!_states.ContainsKey(key))
            {
                _states.Add(key, new InMemorySnapshotStoreState());
            }
            _state = _states[key];
        }
Пример #4
0
        public InMemorySnapshotStore(EngineConfiguration config)
            : base(config)
        {
            string key = _config.Location.OfSnapshots;

            if (!_states.ContainsKey(key))
            {
                _states.Add(key, new InMemorySnapshotStoreState());
            }
            _state = _states[key];
        }