Beispiel #1
0
 public static void Remove(local.Point point)
 {
     CoordsColorDictionary.TryRemove(point, out sys.Color color);
 }
Beispiel #2
0
 public static sys.Color GetColor(local.Point point)
 {
     CoordsColorDictionary.TryGetValue(point, out sys.Color color);
     return(color);
 }
Beispiel #3
0
 public static void AddOrUpdate(local.Point point, sys.Color color)
 {
     CoordsColorDictionary.AddOrUpdate(point, color, (key, value) => value = color);
 }