Exemplo n.º 1
0
 internal PersistentStoreBase(ICollection collection, string key, object syncRoot, bool isSynchronized)
 {
     Collection     = collection ?? throw new ArgumentNullException(nameof(collection));
     Key            = key ?? throw new ArgumentNullException(nameof(key));
     SyncRoot       = syncRoot;
     IsSynchronized = isSynchronized;
 }
 internal PersistentDictionary(ICollection collection, string docId)
 {
     Collection = collection ?? throw new ArgumentNullException(nameof(collection));
     DocId      = docId ?? throw new ArgumentNullException(nameof(docId));
 }
 public PersistentSet(ICollection collection, string key)
     : base(collection, key, new object(), false)
 {
 }