예제 #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();
        }
예제 #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();
        }