C# Класс nHydrate.Dsl.nHydrateToolboxHelperBase

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateToolboxItems ( ) : global::System.Collections.Generic.IList

Returns a list of custom toolbox items to be added dynamically

GetToolboxItem ( string itemId, global::Microsoft.VisualStudio.Modeling store ) : DslDesign::ModelingToolboxItem

Returns instance of ModelingToolboxItem based on specified name. This method must be called from within a Transaction. Failure to do so will result in an exception

GetToolboxItemData ( string itemId, DataFormats format ) : object

Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.

Защищенные методы

Метод Описание
CreateElementToolPrototype ( global::Microsoft.VisualStudio.Modeling store, global domainClassId ) : DslModeling::ElementGroupPrototype

Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id. Default behavior is to create a prototype containing an instance of the domain class. Derived classes may override this to add additional information to the prototype.

nHydrateToolboxHelperBase ( global serviceProvider ) : System

Constructs a new nHydrateToolboxHelperBase.

Приватные методы

Метод Описание
GetToolboxItem ( string itemId ) : DslDesign::ModelingToolboxItem

Given a toolbox item "unique ID" returns the the toolbox item using cached dictionary

Описание методов

CreateElementToolPrototype() защищенный Метод

Creates an ElementGroupPrototype for the element tool corresponding to the given domain class id. Default behavior is to create a prototype containing an instance of the domain class. Derived classes may override this to add additional information to the prototype.
protected CreateElementToolPrototype ( global::Microsoft.VisualStudio.Modeling store, global domainClassId ) : DslModeling::ElementGroupPrototype
store global::Microsoft.VisualStudio.Modeling
domainClassId global
Результат DslModeling::ElementGroupPrototype

CreateToolboxItems() публичный Метод

Returns a list of custom toolbox items to be added dynamically
public CreateToolboxItems ( ) : global::System.Collections.Generic.IList
Результат global::System.Collections.Generic.IList

GetToolboxItem() публичный Метод

Returns instance of ModelingToolboxItem based on specified name. This method must be called from within a Transaction. Failure to do so will result in an exception
public GetToolboxItem ( string itemId, global::Microsoft.VisualStudio.Modeling store ) : DslDesign::ModelingToolboxItem
itemId string unique name of desired ToolboxItem
store global::Microsoft.VisualStudio.Modeling Store to perform the operation against
Результат DslDesign::ModelingToolboxItem

GetToolboxItemData() публичный Метод

Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.
public GetToolboxItemData ( string itemId, DataFormats format ) : object
itemId string The unique ToolboxItem to retrieve data for
format System.Windows.Forms.DataFormats The desired format of the resulting data
Результат object

nHydrateToolboxHelperBase() защищенный Метод

Constructs a new nHydrateToolboxHelperBase.
protected nHydrateToolboxHelperBase ( global serviceProvider ) : System
serviceProvider global
Результат System