C# Класс Revit.SDK.Samples.PerformanceAdviserControl.CS.TestDisplayDialog

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddData ( string name, bool isOurRule, bool isEnabled ) : void

This method is called by UICommand::Execute() and adds test information to the grid data object "testData."

TestDisplayDialog ( PerformanceAdviser performanceAdviser, Document document ) : System

Basic setup -- stores references to the active document and PerformanceAdviser for later use

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Метод Описание
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

btn_Cancel_Click ( object sender, EventArgs e ) : void

Closes the dialog without committing any action

btn_DeselectAll_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Deselect All" button.

btn_RunTests_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Run Selected Tests" button

btn_SelectAll_Click ( object sender, EventArgs e ) : void

Called when the user clicks the "Select All" button.

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

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

This method is called by UICommand::Execute() and adds test information to the grid data object "testData."
public AddData ( string name, bool isOurRule, bool isEnabled ) : void
name string The rule name
isOurRule bool Whether or not the rule is a the API-defined rule in this project
isEnabled bool Whether or not the rule is currently selected to run
Результат void

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

Basic setup -- stores references to the active document and PerformanceAdviser for later use
public TestDisplayDialog ( PerformanceAdviser performanceAdviser, Document document ) : System
performanceAdviser PerformanceAdviser The revit PerformanceAdviser class
document Document The active document
Результат System