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


C# RegistrationContext.RemoveValue方法代码示例

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


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

示例1: Unregister

 /// <summary>
 /// Unregister this logical view.
 /// </summary>
 /// <param name="context"></param>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveValue(LogicalViewPath, logicalView.ToString("B"));
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:8,代码来源:ProvideEditorLogicalViewAttribute.cs

示例2: Unregister

		/// <summary>
		/// Unregister this AutoLoad specification.
		/// </summary>
		public override void Unregister(RegistrationContext context)
		{
			context.RemoveValue(RegKeyName, context.ComponentType.GUID.ToString("B"));
		}
开发者ID:hesam,项目名称:SketchSharp,代码行数:7,代码来源:RegisterAutoLoadAttribute.cs

示例3: 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

示例4: Unregister

 /// <summary>
 /// Unregister this visibility entry.
 /// </summary>
 public override void Unregister(RegistrationContext context)
 {
     context.RemoveValue(RegistryPath, CommandUIGuid.ToString("B"));
 }
开发者ID:jasondeering,项目名称:Git-Source-Control-Provider,代码行数:7,代码来源:ProvideToolsOptionsPageVisibility.cs

示例5: Unregister

        public override void Unregister( RegistrationContext context )
        {
            foreach( var kvp in Values )
                context.RemoveValue( RelativeKeyPath, kvp.Key );

            context.RemoveKeyIfEmpty( RelativeKeyPath );
        }
开发者ID:aura1213,项目名称:netmf-interpreter,代码行数:7,代码来源:VsProvideExpressLoadKeyAttribute.cs

示例6: Unregister

 /// <summary>
 /// Unregister this file extension.
 /// </summary>
 /// <param name="context"></param>
 public override void Unregister(RegistrationContext context)
 {
     if (null != context)
     {
         context.RemoveValue(MSBuildSafeImportsPath, targetsLabel);
     }
 }
开发者ID:Graham-Pedersen,项目名称:IronPlot,代码行数:11,代码来源:ProvideMSBuildTargetAttribute.cs

示例7: Unregister

 public override void Unregister(RegistrationContext context)
 {
     context.RemoveValue(this.ProjectRegKey, _valueName);
     context.RemoveKeyIfEmpty(this.ProjectRegKey);
 }
开发者ID:vestild,项目名称:nemerle,代码行数:5,代码来源:ProvideCodeDomProviderAttribute.cs

示例8: Unregister

        /// <summary>
        /// Unregister the custom editor
        /// </summary>
        /// <param name="context"></param>
        public override void Unregister(RegistrationContext context)
        {
            /// Validate parameter input
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            /// Remove Key
            context.RemoveKey(Path.Combine(XmlChooserFactory, keyName));
            context.RemoveValue(XmlChooserEditorExtensionsKeyPath, defaultExtension);
            context.RemoveKeyIfEmpty(XmlChooserEditorExtensionsKeyPath);
        }
开发者ID:blackberry,项目名称:VSPlugin,代码行数:17,代码来源:XmlEditorDesignerViewRegistration.cs

示例9: Unregister

 public override void Unregister(RegistrationContext context)
 {
     if (context == null) throw new ArgumentException("Bad context to unregister Boo MsBuild task.");
     context.RemoveValue(_safeImportPath,_regLabel);
 }
开发者ID:jagregory,项目名称:boolangstudio,代码行数:5,代码来源:RegisterMsBuildTargetsAttribute.cs


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