public Store(Premitives.StoragePremitive info, LinkedList <object> serializationPath) : base(info, serializationPath) { _logbookSequence.Add(0); Ships = new ShipsAccessor(this); Logbooks = new LogbookAccessor(this); LogbookSequence = new NotifyingReadOnlyCollectionWrapper <ulong>(_logbookSequence, _logbookSequence); }
public Store(string memId) { MemberId = memId; _ships = new Dictionary <int, Ship>(); _logbookSequence = new NotifyingSortedSet <ulong>(); BasicInfo = new BasicInfo(this); Settings = new Settings(); Weekbook = new Weekbook(this); _logbookSequence.Add(0); Ships = new ShipsAccessor(this); Logbooks = new LogbookAccessor(this); LogbookSequence = new NotifyingReadOnlyCollectionWrapper <ulong>(_logbookSequence, _logbookSequence); }