次の方法で共有


DslDefinitionModelTypeDescriptorProvider Class

Definition

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

public ref class DslDefinitionModelTypeDescriptorProvider : Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptionProvider
public class DslDefinitionModelTypeDescriptorProvider : Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptionProvider
type DslDefinitionModelTypeDescriptorProvider = class
    inherit ElementTypeDescriptionProvider
Public Class DslDefinitionModelTypeDescriptorProvider
Inherits ElementTypeDescriptionProvider
Inheritance
DslDefinitionModelTypeDescriptorProvider

Constructors

DslDefinitionModelTypeDescriptorProvider()

Methods

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)
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)
CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)

Virtual method to supply our own type descriptor

CreateTypeDescriptor(ICustomTypeDescriptor, Type)

Overridables for the derived class to provide a custom type descriptor.

(Inherited from ElementTypeDescriptionProvider)
GetTypeDescriptor(Type, Object)

Returns the TypeDescriptor for the requesting ModelElement object.

(Inherited from ElementTypeDescriptionProvider)

Applies to