////////////////////////////////////////////////////////////////////// // Public methods. /// <include file='doc\ProvideLanguageEditorOptionPageAttribute.uex' path='docs/doc[@for="ProvideLanguageEditorOptionPageAttribute.Register"]' /> public override void Register(RegistrationAttribute.RegistrationContext context) { context.Log.WriteLine(SR.GetString(SR.Reg_NotifyLanguageOptionPage, LanguageName, PageNameResourceId)); // Create the registry entries using the creator object. LanguageToolsOptionCreator.CreateRegistryEntries(context, LanguageName, FullPathToPage, PageNameResourceId, PageGuid); }
/// <include file='doc\ProvideLanguageEditorOptionPageAttribute.uex' path='docs/doc[@for="ProvideLanguageEditorToolsOptionCategoryAttribute.Register"]' /> public override void Register(RegistrationAttribute.RegistrationContext context) { context.Log.WriteLine(SR.GetString(SR.Reg_NotifyLanguageOptionCategory, languageName, categoryName)); // Create the registry entries using the creator object. LanguageToolsOptionCreator.CreateRegistryEntries(context, languageName, categoryName, categoryResourceId, Guid.Empty); }
/// <include file='doc\ProvideLanguageEditorOptionPageAttribute.uex' path='docs/doc[@for="ProvideLanguageEditorOptionPageAttribute.Unregister"]' /> public override void Unregister(RegistrationAttribute.RegistrationContext context) { // Remove the registry entries for this page. LanguageToolsOptionCreator.RemoveRegistryEntries(context, LanguageName, FullPathToPage); }
/// <include file='doc\ProvideLanguageEditorOptionPageAttribute.uex' path='docs/doc[@for="ProvideLanguageEditorToolsOptionCategoryAttribute.Unregister"]' /> public override void Unregister(RegistrationAttribute.RegistrationContext context) { // Remove the entries using the creator object. LanguageToolsOptionCreator.RemoveRegistryEntries(context, languageName, categoryName); }