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