共用方式為


ExtensionRegistrarBase<T, TMetadataView> Class

The base class for regular extension registrar and special case for validation registrar

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrarBase<T, TMetadataView>
    Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrar<T, TMetadataView>
    Microsoft.VisualStudio.Modeling.ExtensionEnablement.ValidationExtensionRegistrar

Namespace:  Microsoft.VisualStudio.Modeling.ExtensionEnablement
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public MustInherit Class ExtensionRegistrarBase(Of T, TMetadataView)
public abstract class ExtensionRegistrarBase<T, TMetadataView>
generic<typename T, typename TMetadataView>
public ref class ExtensionRegistrarBase abstract
[<AbstractClass>]
type ExtensionRegistrarBase<'T, 'TMetadataView> =  class end
JScript does not support generic types or methods.

Type Parameters

  • T
  • TMetadataView

The ExtensionRegistrarBase<T, TMetadataView> type exposes the following members.

Constructors

  Name Description
Protected method ExtensionRegistrarBase<T, TMetadataView>

Top

Properties

  Name Description
Public property FilteredImports
Protected property LazyImports
Public property Logger Used to log exceptions/errors encountered by the registrar object.
Protected property UnfilteredLazyImports

Top

Methods

  Name Description
Protected method CanImport Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports.
Protected method Compare
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.ExtensionEnablement Namespace