Esempio n. 1
0
 public StreamDb(IStreamCollection streams, Network.IMdNodeFactory nodeFactory)
 {
     _streams         = streams;
     _nodeFactory     = nodeFactory;
     _dataTreeFactory = new DataTreeFactory(nodeFactory);
 }
 public bool TryGetCollection(string collectionName, out IStreamCollection collection)
 {
     return _collections.TryGetValue(collectionName, out collection);
 }
Esempio n. 3
0
 public TypedStreamCollection(IStreamCollection collection)
 {
     _collection           = collection;
     _collection.Modified += OnModified;
 }
Esempio n. 4
0
 public bool TryGetCollection(string collectionName, out IStreamCollection collection)
 {
     return(_collections.TryGetValue(collectionName, out collection));
 }