ExtensionRegistrar<T, TMetadataView> Class
Lazy Mef Importer class that : 1. Imports parts that export the type T. 2. Ability to provide a filter.
System.Object
Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrarBase<T, TMetadataView>
Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrar<T, TMetadataView>
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement.GestureExtensionController
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement.CommandExtensionRegistrar
Namespace: Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
'Declaration
Public MustInherit Class ExtensionRegistrar(Of T, TMetadataView) _
Inherits ExtensionRegistrarBase(Of T, TMetadataView)
public abstract class ExtensionRegistrar<T, TMetadataView> : ExtensionRegistrarBase<T, TMetadataView>
generic<typename T, typename TMetadataView>
public ref class ExtensionRegistrar abstract : public ExtensionRegistrarBase<T, TMetadataView>
[<AbstractClass>]
type ExtensionRegistrar<'T, 'TMetadataView> =
class
inherit ExtensionRegistrarBase<'T, 'TMetadataView>
end
JScript does not support generic types or methods.
- T
- TMetadataView
The ExtensionRegistrar<T, TMetadataView> type exposes the following members.
Name | Description | |
---|---|---|
ExtensionRegistrar<T, TMetadataView> |
Top
Name | Description | |
---|---|---|
FilteredImports | (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
LazyImports | (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
Logger | Used to log exceptions/errors encountered by the registrar object. (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
UnfilteredLazyImports | (Overrides ExtensionRegistrarBase<T, TMetadataView>.UnfilteredLazyImports.) |
Top
Name | Description | |
---|---|---|
CanImport | Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports. (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
Compare | Compares two imported objects of the same type. (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace