public void registerTool(string ext, ICompilationTool tool) { if (_tools.ContainsKey(ext)) { throw new InvalidOperationException("Duplicate tool"); } _tools[ext] = tool; }
public void registerTool(string ext, ICompilationTool tool) { if (_tools.ContainsKey(ext)) throw new InvalidOperationException("Duplicate tool"); _tools[ext] = tool; }