/// <summary>
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// </summary>
        private static void ArcGISCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format("HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            GxCommands.Unregister(regKey);
            GMxCommands.Unregister(regKey);
            MxCommands.Unregister(regKey);
            SxCommands.Unregister(regKey);
        }
Пример #2
0
        // ReSharper disable once InconsistentNaming
        private static void ArcGisCategoryUnregistration(Type registerType)
        {
            string regKey = string.Format(CultureInfo.CurrentCulture, "HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            MxCommands.Unregister(regKey);
        }
Пример #3
0
 private static void Unreg(string regKey)
 {
     MxCommands.Unregister(regKey);
 }
Пример #4
0
 internal static void Register(string registryKey)
 {
     MxCommands.Register(registryKey);
 }
Пример #5
0
        /// <summary>
        /// Required method for ArcGIS Component Category unregistration -
        /// Do not modify the contents of this method with the code editor.
        /// </summary>
        private static void ArcGISCategoryUnregistration(System.Type registerType)
        {
            string str = string.Format("HKEY_CLASSES_ROOT\\CLSID\\{{{0}}}", registerType.GUID);

            MxCommands.Unregister(str);
        }
Пример #6
0
 private static void ArcGISCategoryUnregistration(Type registerType)
 {
     MxCommands.Unregister(string.Format(@"HKEY_CLASSES_ROOT\CLSID\{{{0}}}", registerType.GUID));
 }