CommandExtensionRegistrar Class
Base class for an ExtensionRegistar that can register ContextMenu command extensions
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Microsoft.VisualStudio.Modeling.ExtensionEnablement::ExtensionRegistrarBase<T, TMetadataView>
Microsoft.VisualStudio.Modeling.ExtensionEnablement::ExtensionRegistrar<T, TMetadataView>
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement::CommandExtensionRegistrar
| Name | Description | |
|---|---|---|
![]() | CommandExtensionRegistrar() |
| Name | Description | |
|---|---|---|
![]() | CommandExtensionDefaultStartId | |
![]() | CommandSetGuid | |
![]() | FilteredImports | (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) |
![]() | LazyImports | (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) |
![]() | Logger | (Overrides ExtensionRegistrarBase<T, TMetadataView>::Logger.) |
![]() | MenuService | |
![]() | MetadataFilter | |
![]() | ServiceProvider | |
![]() | UnfilteredLazyImports | (Inherited from ExtensionRegistrar<T, TMetadataView>.) |
| Name | Description | |
|---|---|---|
![]() | CanImport(Lazy<ICommandExtension^, IDictionary<String^, Object^>^>^) | Allow registrars that match the metadatafilter with a key in their metadata to be imported(Overrides ExtensionRegistrarBase<T, TMetadataView>::CanImport(Lazy<T, TMetadataView>^).) |
![]() | Compare(Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^, Tuple<ICommandExtension^, IDictionary<String^, Object^>^>^) | |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize(IServiceProvider^) | Assigns a unique commandId to each imported command extension and registers the command with the MenuService. Only commandExtensions whose metadata match the MetadataFilter are registered. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



