public void RemoveTool(ICsvTextEditorTool tool) { Argument.IsNotNull(() => tool); _tools.Remove(tool); tool.Close(); }
public void AddTool(ICsvTextEditorTool tool) { Argument.IsNotNull(() => tool); if (_tools.Contains(tool)) { return; } _tools.Add(tool); }