C# Class BuildingCoder.CmdInstallLocation

Inheritance: IExternalCommand
显示文件 Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Method Description
FormatData ( string description, string version_name, string product_code, string install_location ) : string
GetRevitInstallLocation ( string product_code ) : string
GetRevitProductCode ( string reg_path_product ) : string
GetSubkeyValue ( string reg_path_key, string subkey_name, string value_name ) : string

Return a specific string value from a specific subkey of a given registry key.

RegPathForFlavour ( ProductType flavour, string version ) : string

Method Details

Execute() public method

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
return System.Result