コード例 #1
0
ファイル: Reference.cs プロジェクト: logtcn/greenshot
 /// <remarks/>
 public System.IAsyncResult BeginaddVersion(string in0, string in1, RemoteVersion in2, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("addVersion", new object[] {
                 in0,
                 in1,
                 in2}, callback, asyncState);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: logtcn/greenshot
 public void releaseVersion(string in0, string in1, RemoteVersion in2)
 {
     this.Invoke("releaseVersion", new object[] {
                 in0,
                 in1,
                 in2});
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: logtcn/greenshot
 public RemoteVersion addVersion(string in0, string in1, RemoteVersion in2)
 {
     object[] results = this.Invoke("addVersion", new object[] {
                 in0,
                 in1,
                 in2});
     return ((RemoteVersion)(results[0]));
 }
コード例 #4
0
ファイル: JiraAdapter.cs プロジェクト: n00shie/Jira-Adapter
        private static RemoteIssue CreateIssue(RemoteProject project, JiraSoapServiceService jiraSoapService, string token)
        {
            System.Diagnostics.Debug.WriteLine("Creating a new issue on http://jira/jira ...");
            Console.WriteLine("Creating a new issue on http://jira/jira ...");

            RemoteIssue issue = new RemoteIssue();

            issue.project = project.key;

            RemoteVersion Iteration = new RemoteVersion();
            Iteration.id = ConfigurationManager.AppSettings["JiraIteration"];
            RemoteVersion[] arrayOfVersions = {Iteration};

            issue.affectsVersions = arrayOfVersions;

            List<RemoteIssueType> issueTypes =
                new List<RemoteIssueType>(jiraSoapService.getIssueTypesForProject(token, project.id));
            foreach (RemoteIssueType issueType in issueTypes)
            {
                if (issueType.name.Equals("Bug"))
                {
                    issue.type = issueType.id;
                }
            }
            return issue;
        }