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