本文整理汇总了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"));
}
}
示例2: Unregister
public override void Unregister(RegistrationContext context)
{
if (context == null)
throw new ArgumentNullException("context");
context.RemoveKey(GetPathToKey(context));
}
示例3: Unregister
public override void Unregister(RegistrationContext context)
{
if (context != null)
{
context.RemoveKey(ProviderRegKey);
}
}
示例4: Unregister
public override void Unregister(RegistrationContext context)
{
if (context != null)
{
context.RemoveKey(LanguageName());
}
}
示例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));
}
示例7: Unregister
public override void Unregister(RegistrationContext context)
{
context.RemoveKey(BaseRegistryKey);
}
示例8: Unregister
public override void Unregister(RegistrationContext context)
{
context.RemoveKey(string.Format(CultureInfo.InvariantCulture, "{0}\\{1}", "OutputWindow", OutputWindowId.ToString("B").ToUpperInvariant()));
}
示例9: Unregister
public override void Unregister(RegistrationContext context)
{
context.RemoveKey(LanguagePropertyKey);
}
示例10: Unregister
/// <summary>
/// Unregister this Tool Window.
/// </summary>
public override void Unregister(RegistrationContext context)
{
context.RemoveKey(RegKeyName);
}
示例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"));
}
示例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);
}
示例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));
}
示例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);
}
}