C# Class DeploymentTracker.App.Windows.PackageDeployment

Show file Open project: RyanTBerry/WindowsAzureDeploymentTracker Class Usage Examples

Public Methods

Method Description
PackageDeployment ( bool isUpgrade = false, string rollbackVersion = "", string versionToDeploy = "", string application = "" ) : System

Initializes a new instance of the PackageDeployment class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AssignCloudArgsAfterBuild ( string msbuildLogPath, string tflogPath, string azurePackagesPath ) : void

Assigns the cloud args after build.

AssignCloudArgsNoBuild ( string currentVersionForlocalDeploy ) : void

Assigns the cloud args no build.

BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void

Handles the DoWork event of the backgroundWorker control.

BackgroundWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Handles the ProgressChanged event of the backgroundWorker control.

BackgroundWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Handles the RunWorkerCompleted event of the backgroundWorker control.

BindEnvironmentCombo ( ) : void

Binds the environment combo.

BtnBrowsePackage_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnBrowsePackage control.

BtnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

BtnDeploy_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDeploy control.

BtnLoadSolutions_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnLoadSolutions control.

BtnLoadTFSlabel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnLoadTFSlabel control.

BtnManageTFSsettings_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnManageTFSsettings control.

BtnViewLog_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnViewTFLog, btnViewDeployLog and btnViewBuildLog control.

CbxServerName_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cbxServerName control.

CbxSubscriptions_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cbxSubscriptions control.

ExtractLoadPubSettingsFile ( ) : void

Extracts the load pub settings file.

InitializeComponent ( ) : void

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

LnkDownload_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void

Handles the LinkClicked event of the lnkDownload control.

LoadSubscriptionsDetails ( ) : void

Loads the subscriptions details.

LogDeploymentDetailsIntoDatabase ( bool isSuccessful, DeploymentStatus status, string version, string environment ) : void

Logs the details into database.

OpenFileDialog_FileOk ( object sender, CancelEventArgs e ) : void

Handles the FileOk event of the openFileDialog control.

PackageDeployment_FormClosing ( object sender, FormClosingEventArgs e ) : void

Handles the FormClosing event of the PackageDeployment control.

PackageDeployment_Load ( object sender, EventArgs e ) : void

Handles the Load event of the PackageDeployment control.

PerformBuildOperation ( bool isLocalDeployment, string currentVersionForlocalDeploy = "" ) : bool

Performs the build operation.

PerformCloudDeployment ( ) : bool

Peforms the cloud deployment.

PrepareBuildArgs ( ) : BuildArgs

Prepares the build args.

PrepareCloudArgs ( ) : CloudArgs

Prepares the cloud args.

ResetTreeViewNodes ( TreeNode topnode ) : void

Resets the tree view nodes.

SetUserActionOnFrom ( bool status ) : void

Sets the user action on from.

ShowRequiredDialogs ( string azurePackagePath ) : void

Shows the required dialogs.

TabControl1_Selecting ( object sender, TabControlCancelEventArgs e ) : void

Handles the Selecting event of the tabControl1 control.

TxtSolutionName_TextChanged ( object sender, EventArgs e ) : void

Handles the TextChanged event of the txtSolutionName control.

cbxHostedNames_TextChanged ( object sender, EventArgs e ) : void

Handles the TextChanged event of the cbxHostedNames control.

cbxIsRollback_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbxIsRollback control.

cbxStorageNames_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cbxStorageNames control.

tvCheckList_BeforeSelect ( object sender, TreeViewCancelEventArgs e ) : void

Handles the BeforeSelect event of the tvCheckList control.

txtPackagePath_TextChanged ( object sender, EventArgs e ) : void

Handles the TextChanged event of the txtPackagePath control.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

PackageDeployment() public method

Initializes a new instance of the PackageDeployment class.
public PackageDeployment ( bool isUpgrade = false, string rollbackVersion = "", string versionToDeploy = "", string application = "" ) : System
isUpgrade bool if set to true [is upgrade].
rollbackVersion string The rollback version.
versionToDeploy string The version to deploy.
application string The application.
return System