PaulStovell.TrialBalance.Website.UploadBuildTask.UploadBuildServiceProxy.UploadBuildService.UploadBuild C# (CSharp) Method

UploadBuild() private method

private UploadBuild ( string username, string password, string buildNumber, System buildDate, bool isSuccessful, string buildStatus, string version, bool isPublic, string releaseNotes, string sourceCodeUrl, string installerUrl, string clickOnceUrl ) : void
username string
password string
buildNumber string
buildDate System
isSuccessful bool
buildStatus string
version string
isPublic bool
releaseNotes string
sourceCodeUrl string
installerUrl string
clickOnceUrl string
return void
        public void UploadBuild(string username, string password, string buildNumber, System.DateTime buildDate, bool isSuccessful, string buildStatus, string version, bool isPublic, string releaseNotes, string sourceCodeUrl, string installerUrl, string clickOnceUrl) {
            this.Invoke("UploadBuild", new object[] {
                        username,
                        password,
                        buildNumber,
                        buildDate,
                        isSuccessful,
                        buildStatus,
                        version,
                        isPublic,
                        releaseNotes,
                        sourceCodeUrl,
                        installerUrl,
                        clickOnceUrl});
        }
        

Usage Example

Exemplo n.º 1
0
        public override bool Execute()
        {
            string releaseNotes = string.Empty;

            if (this.ReleaseNotesFilePath != string.Empty) {
                releaseNotes = File.ReadAllText(this.ReleaseNotesFilePath);
            }

            UploadBuildServiceProxy.UploadBuildService service = new UploadBuildServiceProxy.UploadBuildService();
            service.Url = _webServiceUrl;
            service.UploadBuild(this.Username, this.Password, this.BuildNumber, this.BuildDate, this.IsSuccessful, this.BuildStatus, this.Version, this.IsPublic,
                releaseNotes, this.SourceCodeUrl, this.InstallerUrl, this.ClickOnceUrl);
            return true;
        }