예제 #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;
 }