Exemple #1
0
 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);
 }
Exemple #2
0
        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);
        }