Inheritance: System.NotifyPropertyChangedBase
コード例 #1
0
 private void ClearCurrent()
 {
     if(Current != null)
     {
         Current.Activated = false;
         _Current = null;
         OnPropertyChanged(() => this.Current);
     }
 }
コード例 #2
0
 private void GoTo(ZoneTransitionViewModel zone)
 {
     Current = zone;
 }
コード例 #3
0
 private void AddEvents(ZoneTransitionViewModel zone, string nameSuffix, List<TileEventViewModel> events)
 {
     foreach(var evt in CreateEventsFrom(zone))
     {
         evt.Name = nameSuffix + "-" + evt.Name;
         events.Add(evt);
     }
 }