DeploymentTracker.App.Windows.PackageDeployment.AssignCloudArgsAfterBuild C# (CSharp) 메소드

AssignCloudArgsAfterBuild() 개인적인 메소드

Assigns the cloud args after build.
private AssignCloudArgsAfterBuild ( string msbuildLogPath, string tflogPath, string azurePackagesPath ) : void
msbuildLogPath string The msbuild log path.
tflogPath string The tf log path.
azurePackagesPath string The azure packages path.
리턴 void
        private void AssignCloudArgsAfterBuild(string msbuildLogPath, string tflogPath, string azurePackagesPath)
        {
            if (msbuildLogPath == null) throw new ArgumentNullException("msbuildLogPath");
            if (tflogPath == null) throw new ArgumentNullException("tflogPath");
            if (azurePackagesPath == null) throw new ArgumentNullException("azurePackagesPath");

            // Assign log paths so that user can see them. See view log button click for details
            this.msbuildLogPath = msbuildLogPath;
            this.teamfoundationExeLogPath = tflogPath;

            // This is for cloud deployment'
            this.cloudArgs.IsBuildCompleted = true;
            string cspkgFilePath = Directory.GetFiles(azurePackagesPath, "*.cspkg").First();
            string configFilePath = Directory.GetFiles(azurePackagesPath, "*.cscfg").First();
            this.cloudArgs.PackageFilePath = cspkgFilePath;
            this.cloudArgs.ServiceConfigFilePath = configFilePath;
            this.cloudArgs.AzureLogFilePath = tflogPath.Replace(Constants.TFSLogIdentifier, Constants.AzureLogIdentifier);
            this.cloudDeploymentLogPath = this.cloudArgs.AzureLogFilePath;
        }