예제 #1
0
 public void NotifyListChanged()
 {
     // ISSUE: reference to a compiler-generated field
     Map.OnListChangedEvent listChanged = this.ListChanged;
     if (listChanged == null)
     {
         return;
     }
     listChanged(this.Count);
 }
예제 #2
0
 public void Add(MapProp item)
 {
     this.Props.Add(item);
     // ISSUE: reference to a compiler-generated field
     Map.OnListChangedEvent listChanged = this.ListChanged;
     if (listChanged == null)
     {
         return;
     }
     listChanged(this.Props.Count);
 }
예제 #3
0
 public bool Remove(MapProp item)
 {
     if (!this.Props.Remove(item))
     {
         return(false);
     }
     // ISSUE: reference to a compiler-generated field
     Map.OnListChangedEvent listChanged = this.ListChanged;
     if (listChanged != null)
     {
         listChanged(this.Props.Count);
     }
     return(true);
 }