当前位置: 首页>>代码示例>>C#>>正文


C# RegistrationContext.RemoveKey方法代码示例

本文整理汇总了C#中RegistrationContext.RemoveKey方法的典型用法代码示例。如果您正苦于以下问题:C# RegistrationContext.RemoveKey方法的具体用法?C# RegistrationContext.RemoveKey怎么用?C# RegistrationContext.RemoveKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在RegistrationContext的用法示例。


在下文中一共展示了RegistrationContext.RemoveKey方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Unregister

 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(@"AD7Metrics\Engine\" + new Guid(Constants.DebuggerGuid).ToString("B"));
     foreach (var t in typesToRegister) {
         context.RemoveKey(@"CLSID\" + t.GUID.ToString("B"));
     }
 }
开发者ID:bagobor,项目名称:NodeVsDebugger,代码行数:7,代码来源:NodeVsDebuggerRegistrationAttribute.cs

示例2: Unregister

        public override void Unregister(RegistrationContext context)
        {
            if (context == null)
                throw new ArgumentNullException("context");

            context.RemoveKey(GetPathToKey(context));
        }
开发者ID:modulexcite,项目名称:vsbase,代码行数:7,代码来源:ProvideBindingPathAttribute.cs

示例3: Unregister

 public override void Unregister(RegistrationContext context)
 {
   if (context != null)
   {
     context.RemoveKey(ProviderRegKey);
   }
 }
开发者ID:rpete4130,项目名称:vsClojure,代码行数:7,代码来源:ProvideIntellisenseProviderAttribute.cs

示例4: Unregister

 public override void Unregister(RegistrationContext context)
 {
   if (context != null)
   {
     context.RemoveKey(LanguageName());
   }
 }
开发者ID:rpete4130,项目名称:vsClojure,代码行数:7,代码来源:RegisterSnippetsAttribute.cs

示例5: Unregister

        public override void Unregister(RegistrationContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            context.RemoveKey(GetKeyName());
        }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:9,代码来源:ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute.cs

示例6: Unregister

    public override void Unregister(RegistrationContext context)
    {
      if (context == null)
      {
        return;
      }

      context.RemoveKey(String.Format("{0}\\{1:B}\\{2:B}", EXPRESSION_EVALUATOR_REGISTRY_PATH, _languageGuid, _vendorGuid));
      context.RemoveKeyIfEmpty(String.Format("{0}\\{1:B}", EXPRESSION_EVALUATOR_REGISTRY_PATH, _languageGuid));
    }
开发者ID:rpete4130,项目名称:vsClojure,代码行数:10,代码来源:RegisterExpressionEvaluatorAttribute.cs

示例7: Unregister

 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(BaseRegistryKey);
 }
开发者ID:chandramouleswaran,项目名称:LangSvcV2,代码行数:4,代码来源:ProvideComponentSelectorTabAttribute.cs

示例8: Unregister

 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(string.Format(CultureInfo.InvariantCulture, "{0}\\{1}", "OutputWindow", OutputWindowId.ToString("B").ToUpperInvariant()));
 }
开发者ID:pvginkel,项目名称:VisualGit,代码行数:4,代码来源:ProvideOutputWindow.cs

示例9: Unregister

 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(LanguagePropertyKey);
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:4,代码来源:WAProvideLanguagePropertyAttribute.cs

示例10: Unregister

 /// <summary>
 /// Unregister this Tool Window.
 /// </summary>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(RegKeyName);
 }
开发者ID:hesam,项目名称:SketchSharp,代码行数:7,代码来源:ProvideToolWindowAttribute.cs

示例11: Unregister

 /// <summary>
 /// Unregister the source control provider
 /// </summary>
 /// <param name="context"></param>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey("SourceControlProviders\\" + AnkhId.SccProviderGuid.ToString("B"));
 }
开发者ID:necora,项目名称:ank_git,代码行数:8,代码来源:ProvideSourceControlProvider.cs

示例12: Unregister

 /// <summary>
 /// Unregisters this attribute.
 /// </summary>
 /// <param name="context">
 ///     Contains the location from where the registration inforomation should be removed.
 ///     It also contains other informations as the type being unregistered and path information.
 /// </param>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(CLSIDRegKey);
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:11,代码来源:ProvideObjectAttribute.cs

示例13: Unregister

 /// <include file='doc\RegisterProjectItem.uex' path='docs/doc[@for="RegisterProjectItemAttribute.Unregister"]/*' />
 /// <summary>
 /// Unregister this editor.
 /// </summary>
 /// <param name="context"></param>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveKey(ProjectRegKeyName(context));
 }
开发者ID:hesam,项目名称:SketchSharp,代码行数:9,代码来源:RegisterProjectItem.cs

示例14: Unregister

        public override void Unregister(RegistrationContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            context.RemoveKey(GetKeyName());

            context.RemoveValue(XmlChooserEditorExtensionsKeyPath, extension);
            context.RemoveKeyIfEmpty(XmlChooserEditorExtensionsKeyPath);
        }
开发者ID:Sunzhuokai,项目名称:VSSDK-Extensibility-Samples,代码行数:12,代码来源:ProvideXmlEditorChooserDesignerViewAttribute.cs

示例15: Unregister

 /// <summary>
 /// Unregister this related file extension
 /// </summary>
 /// <param name="context">Given context to unregister from</param>
 public override void Unregister(RegistrationContext context)
 {
     if (context != null)
     {
         //UnRegister related file extextion
         context.RemoveKey(RelatedFilePath);
     }
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:12,代码来源:WebSiteProjectRelatedFilesAttribute.cs


注:本文中的RegistrationContext.RemoveKey方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。