C# Class nHydrate.Dsl.nHydrateHelpKeywordHelperBase

Helper class used to map shapes and model elements to F1 help keywords.
Mostrar archivo Open project: nHydrate/nHydrate

Public Methods

Method Description
GetDomainPropertyHelpKeyword ( global::Microsoft.VisualStudio.Modeling domainProperty ) : string

Gets the help keyword associated with the given domain property.

GetDomainRoleHelpKeyword ( global::Microsoft.VisualStudio.Modeling domainRole ) : string

Gets the help keyword associated with the given domain role.

GetHelpKeyword ( global::Microsoft.VisualStudio.Modeling modelElement ) : string

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

Protected Methods

Method Description
Initialize ( ) : void

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

nHydrateHelpKeywordHelperBase ( )

Constructs a new nHydrateHelpKeywordHelperBase.

Method Details

GetDomainPropertyHelpKeyword() public method

Gets the help keyword associated with the given domain property.
public GetDomainPropertyHelpKeyword ( global::Microsoft.VisualStudio.Modeling domainProperty ) : string
domainProperty global::Microsoft.VisualStudio.Modeling
return string

GetDomainRoleHelpKeyword() public method

Gets the help keyword associated with the given domain role.
public GetDomainRoleHelpKeyword ( global::Microsoft.VisualStudio.Modeling domainRole ) : string
domainRole global::Microsoft.VisualStudio.Modeling
return string

GetHelpKeyword() public method

Gets the help keyword associated with the given shape or model element instance.
public GetHelpKeyword ( global::Microsoft.VisualStudio.Modeling modelElement ) : string
modelElement global::Microsoft.VisualStudio.Modeling
return string

Initialize() protected method

Called to initialize the HelpKeywords dictionary. Derived classes may override this to add custom keywords to the collection.
protected Initialize ( ) : void
return void

nHydrateHelpKeywordHelperBase() protected method

Constructs a new nHydrateHelpKeywordHelperBase.