public void UpdateFigure(FigureProxy figureProxy) { if (_figureProxies.IndexOf(figureProxy) != -1) { Updated?.Invoke(this, figureProxy); } }
public void RemoveFigure(FigureProxy figureProxy) { _figureProxies.Remove(figureProxy); Removed?.Invoke(this, figureProxy); }
public void AddFigure(FigureProxy figureProxy) { _figureProxies.Add(figureProxy); Added?.Invoke(this, figureProxy); }