Example #1
0
 /// <summary>
 /// Adds the given <paramref name="snapshot" /> to the internal storage
 /// </summary>
 /// <param name="snapshot">Snapshot to be saved</param>
 public void Add(SnapshotBase snapshot)
 {
     _documentStoreCache.Add(snapshot);
     _datastore.Store(snapshot);
 }
Example #2
0
 /// <summary>
 /// Adds the given <paramref name="snapshot" /> to the internal storage
 /// </summary>
 /// <param name="snapshot">Snapshot to be saved</param>
 public void Add(SnapshotBase snapshot)
 {
     _datastore.Store(snapshot);
 }