protected BaseDataObjectVersion(byte[] id, byte[] chunkID, BaseDataObject baseDataObject) { if (baseDataObject == null) { throw new ArgumentNullException("baseDataObject"); } this.id = id; this.chunkID = chunkID; this.baseDataObject = baseDataObject; this.previousVersions = new Dictionary <byte[], BaseDataObjectVersion> (baseDataObject.Versions); }
public void AddVolatileData(BaseDataObject objRef) { lock (syncVolatileData) volatileData.Add(objRef); //Console.Write ("*"); }