Compartilhar via


DslDefinitionModelTypeDescriptorProvider Class

Provide custom types for the model. This will probably need amending once we're generatign a type descriptor provider.

Inheritance Hierarchy

System.Object
  System.ComponentModel.TypeDescriptionProvider
    Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptionProvider
      Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelTypeDescriptorProvider

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

Syntax

'Declaração
Public Class DslDefinitionModelTypeDescriptorProvider _
    Inherits ElementTypeDescriptionProvider
public class DslDefinitionModelTypeDescriptorProvider : ElementTypeDescriptionProvider
public ref class DslDefinitionModelTypeDescriptorProvider : public ElementTypeDescriptionProvider
type DslDefinitionModelTypeDescriptorProvider =  
    class
        inherit ElementTypeDescriptionProvider
    end
public class DslDefinitionModelTypeDescriptorProvider extends ElementTypeDescriptionProvider

The DslDefinitionModelTypeDescriptorProvider type exposes the following members.

Constructors

  Name Description
Public method DslDefinitionModelTypeDescriptorProvider

Top

Methods

  Name Description
Protected method CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement) Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor. (Inherited from ElementTypeDescriptionProvider.)
Protected method CreateCustomTypeDescriptor(ICustomTypeDescriptor, Type) Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor. (Inherited from ElementTypeDescriptionProvider.)
Public method CreateInstance Creates an object that can substitute for another data type. (Inherited from TypeDescriptionProvider.)
Protected method CreateTypeDescriptor(ICustomTypeDescriptor, Type) Overridables for the derived class to provide a custom type descriptor. (Inherited from ElementTypeDescriptionProvider.)
Protected method CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement) Virtual method to supply our own type descriptor (Overrides ElementTypeDescriptionProvider.CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement).)
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 GetCache Gets a per-object cache, accessed as an IDictionary of key/value pairs. (Inherited from TypeDescriptionProvider.)
Public method GetExtendedTypeDescriptor Gets an extended custom type descriptor for the given object. (Inherited from TypeDescriptionProvider.)
Protected method GetExtenderProviders Gets the extender providers for the specified object. (Inherited from TypeDescriptionProvider.)
Public method GetFullComponentName Gets the name of the specified component, or nulla null reference (Nothing in Visual Basic) if the component has no name. (Inherited from TypeDescriptionProvider.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetReflectionType(Type) Performs normal reflection against a type. (Inherited from TypeDescriptionProvider.)
Public method GetReflectionType(Object) Performs normal reflection against the given object. (Inherited from TypeDescriptionProvider.)
Public method GetReflectionType(Type, Object) Performs normal reflection against the given object with the given type. (Inherited from TypeDescriptionProvider.)
Public method GetRuntimeType Converts a reflection type into a runtime type. (Inherited from TypeDescriptionProvider.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetTypeDescriptor(Type) Gets a custom type descriptor for the given type. (Inherited from TypeDescriptionProvider.)
Public method GetTypeDescriptor(Object) Gets a custom type descriptor for the given object. (Inherited from TypeDescriptionProvider.)
Public method GetTypeDescriptor(Type, Object) Gets a custom type descriptor for the given type and object. (Inherited from ElementTypeDescriptionProvider.)
Public method IsSupportedType Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers. (Inherited from TypeDescriptionProvider.)
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.DslDefinition.Design Namespace