示例#1
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);
        }
示例#2
0
 public ShipsAccessor(Weekbook lbk)
 {
     this.lbk = lbk;
 }