internal static void Initialize() { customToolList = AddInTree.BuildItems <CustomToolDescriptor>("/SharpDevelop/CustomTools", null, false); toolDict = new Dictionary <string, CustomToolDescriptor>(StringComparer.OrdinalIgnoreCase); foreach (CustomToolDescriptor desc in customToolList) { toolDict[desc.Name] = desc; } if (!initialized) { initialized = true; FileUtility.FileSaved += OnFileSaved; } beforeBuildCustomToolRunner = new BeforeBuildCustomToolRunner(); }
internal static void Initialize() { customToolList = AddInTree.BuildItems<CustomToolDescriptor>("/SharpDevelop/CustomTools", null, false); toolDict = new Dictionary<string, CustomToolDescriptor>(StringComparer.OrdinalIgnoreCase); foreach (CustomToolDescriptor desc in customToolList) { toolDict[desc.Name] = desc; } if (!initialized) { initialized = true; FileUtility.FileSaved += OnFileSaved; } beforeBuildCustomToolRunner = new BeforeBuildCustomToolRunner(); }