共用方式為


Modeling SDK for Visual Studio 的 API 參考

 

如需 Visual Studio 2017 的最新文件請參閱 Visual Studio 2017 文件

Visual Studio Visualization and Modeling SDK 提供的平台建置您定義域專屬語言 (DSL) 和 UML 工具。

注意

UML 模型 API 的相關資訊,請參閱的 UML 模型擴充性 API 參考。 文字轉換的相關資訊,請參閱自訂 T4 文字轉換

本章節包含在名稱開頭為"Microsoft.VisualStudio.Modeling"命名空間的參考資料。

命名空間 內容
Microsoft.VisualStudio.Modeling 例如 ModelElement,也就是您在 DSL 中定義的所有網域類別的基底類別的類別。
Microsoft.VisualStudio.Modeling.Design 形成的 DSL 定義一部分的類別。
Microsoft.VisualStudio.Modeling.Diagnostics 模型存放區檢視器和效能的測量工具。
Microsoft.VisualStudio.Modeling.Diagrams 例如 ShapeElement,也就是您在 DSL 中定義的所有形狀的基底類別的類別。
Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement 筆勢和選取範圍的方法。
Microsoft.VisualStudio.Modeling.DslDefinition 在 DSL 定義設計工具的 API。
Microsoft.VisualStudio.Modeling.DslDefinition.Design 在 DSL 定義設計工具的內部類別。
Microsoft.VisualStudio.Modeling.DslDefinition.ExtensionEnablement 可讓您擴充 DSL 設計工具命令、 手勢和驗證的屬性。
Microsoft.VisualStudio.Modeling.Extensibility 擴充方法 ModelElement 實作 DSL 擴充性。
Microsoft.VisualStudio.Modeling.ExtensionEnablement 擴充屬性
Microsoft.VisualStudio.Modeling.Immutability 可讓您將模型的部分為唯讀。
Microsoft.VisualStudio.Modeling.Integration Modelbus API,可幫助您整合不同的模型。
Microsoft.VisualStudio.Modeling.Integration.Picker 對話方塊中,可讓使用者導覽至模型和建立 Modelbus 參考的項目。
Microsoft.VisualStudio.Modeling.Integration.Picker.Hosting 選擇器服務。
Microsoft.VisualStudio.Modeling.Integration.Shell Modelbus 配接器架構的Visual Studio。
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker 選擇器 對話方塊,可讓使用者導覽至模型和建立 Modelbus 參考的項目。
Microsoft.VisualStudio.Modeling.Shell Dsl 之間的介面和Visual Studio。
Microsoft.VisualStudio.Modeling.Shell.ExtensionEnablement 可讓您定義捷徑 (內容) 功能表命令。
Microsoft.VisualStudio.Modeling.Validation 可讓您定義驗證條件約束。

另請參閱

UML 模型擴充性 API 參考
自訂 T4 文字轉換