ValidationExtensionRegistrar Class
Base class for an ExtensionRegistar that can register Validation Extensions
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrarBase<Delegate, IDictionary<String, Object>>
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 ValidationExtensionRegistrar _
Inherits ExtensionRegistrarBase(Of Delegate, IDictionary(Of String, Object))
public abstract class ValidationExtensionRegistrar : ExtensionRegistrarBase<Delegate, IDictionary<string, Object>>
public ref class ValidationExtensionRegistrar abstract : public ExtensionRegistrarBase<Delegate^, IDictionary<String^, Object^>^>
[<AbstractClass>]
type ValidationExtensionRegistrar =
class
inherit ExtensionRegistrarBase<Delegate, IDictionary<string, Object>>
end
public abstract class ValidationExtensionRegistrar extends ExtensionRegistrarBase<Delegate, IDictionary<String, Object>>
The ValidationExtensionRegistrar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidationExtensionRegistrar |
Top
Properties
Name | Description | |
---|---|---|
FilteredImports | List of Imports after filtering was applied. (Overrides ExtensionRegistrarBase<T, TMetadataView>.FilteredImports.) | |
LazyImports | (Inherited from ExtensionRegistrarBase<T, TMetadataView>.) | |
Logger | (Overrides ExtensionRegistrarBase<T, TMetadataView>.Logger.) | |
MetadataFilter | ||
UnfilteredLazyImports | (Overrides ExtensionRegistrarBase<T, TMetadataView>.UnfilteredLazyImports.) |
Top
Methods
Name | Description | |
---|---|---|
CanImport | Allow registrars that match the metadatafilter with a key in their metadata to be imported (Overrides ExtensionRegistrarBase<T, TMetadataView>.CanImport(Lazy<T, TMetadataView>).) | |
Compare | (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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValidationMethods | Default implementation to return all delegates appliable to the type of one model element (and its base type/implemented interfaces) | |
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
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