Пример #1
0
 public void UpdateClosedInfo(Explorer explorer)
 {
     LastUpdateDateTime = DateTime.Now;
     CloseCount++;
     if (explorer.IsFavorited) IsFavorited = explorer.IsFavorited;
 }
Пример #2
0
 protected virtual void OnPinLocationChanged(Explorer pinExplorer)
 {
     var handler = this.PinLocationChanged;
     if (handler != null)
     {
         handler(this, pinExplorer);
     }
 }
Пример #3
0
 public void Restore(Explorer explorer)
 {
     if (LocationKey != explorer.LocationKey) return; // キーが違っていたら何もしない
     LastUpdateDateTime = explorer.LastUpdateDateTime;
     IsPined = explorer.IsPined;
 }