Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }