共用方式為


DslDefinitionModelHelpKeywordHelper Class

Definition

Helper class used to map shapes and model elements to help keywords.

public ref class DslDefinitionModelHelpKeywordHelper : Microsoft::VisualStudio::Modeling::DslDefinition::DslDefinitionModelHelpKeywordHelperBase
public class DslDefinitionModelHelpKeywordHelper : Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelHelpKeywordHelperBase
type DslDefinitionModelHelpKeywordHelper = class
    inherit DslDefinitionModelHelpKeywordHelperBase
Public Class DslDefinitionModelHelpKeywordHelper
Inherits DslDefinitionModelHelpKeywordHelperBase
Inheritance
DslDefinitionModelHelpKeywordHelper

Remarks

Double-derived class to allow easier code customization.

Constructors

DslDefinitionModelHelpKeywordHelper()

Constructs a new DslDefinitionModelHelpKeywordHelper.

Properties

HelpKeywords

Collection of key/value pairs describing help keywords for this DSL. Keys are strings such as domain class names that describe elements of the DSL. Values are corresponding help keywords.

(Inherited from DslDefinitionModelHelpKeywordHelperBase)
Instance

Single instance of the DslDefinitionModelHelpKeywordHelper.

Methods

GetDomainPropertyHelpKeyword(DomainPropertyInfo)

Gets the help keyword associated with the given domain property.

(Inherited from DslDefinitionModelHelpKeywordHelperBase)
GetDomainRoleHelpKeyword(DomainRoleInfo)

Gets the help keyword associated with the given domain role.

(Inherited from DslDefinitionModelHelpKeywordHelperBase)
GetHelpKeyword(ModelElement)

Gets the help keyword associated with the given shape or model element instance.

(Inherited from DslDefinitionModelHelpKeywordHelperBase)
Initialize()

Called to initialize the HelpKeywords dictionary. Derived classes may override this to add custom keywords to the collection.

(Inherited from DslDefinitionModelHelpKeywordHelperBase)

Applies to