📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1434
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.1434.
//
#pragma warning disable 1591
namespace BugNET.SubversionHooks.WebServices {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1434")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="BugNetServicesSoap", Namespace="http://bugnetproject.com/")]
public partial class BugNetServices : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback LogInOperationCompleted;
private System.Threading.SendOrPostCallback LogOutOperationCompleted;
private System.Threading.SendOrPostCallback CreateNewIssueRevisionOperationCompleted;
private System.Threading.SendOrPostCallback ChangeTreeNodeOperationCompleted;
private System.Threading.SendOrPostCallback MoveNodeOperationCompleted;
private System.Threading.SendOrPostCallback AddCategoryOperationCompleted;
private System.Threading.SendOrPostCallback DeleteCategoryOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public BugNetServices() {
this.Url = global::BugNET.SubversionHooks.Properties.Settings.Default.BugNET_SubversionHooks_BugNetServices_BugNetServices;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
/// <remarks/>
public event LogInCompletedEventHandler LogInCompleted;
/// <remarks/>
public event LogOutCompletedEventHandler LogOutCompleted;
/// <remarks/>
public event CreateNewIssueRevisionCompletedEventHandler CreateNewIssueRevisionCompleted;
/// <remarks/>
public event ChangeTreeNodeCompletedEventHandler ChangeTreeNodeCompleted;
/// <remarks/>
public event MoveNodeCompletedEventHandler MoveNodeCompleted;
/// <remarks/>
public event AddCategoryCompletedEventHandler AddCategoryCompleted;
/// <remarks/>
public event DeleteCategoryCompletedEventHandler DeleteCategoryCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bugnetproject.com/LogIn", RequestNamespace="http://bugnetproject.com/", ResponseNamespace="http://bugnetproject.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool LogIn(string userName, string password) {
object[] results = this.Invoke("LogIn", new object[] {
userName,
password});
return ((bool)(results[0]));
}
/// <remarks/>
public void LogInAsync(string userName, string password) {
this.LogInAsync(userName, password, null);
}
/// <remarks/>
public void LogInAsync(string userName, string password, object userState) {
if ((this.LogInOperationCompleted == null)) {
this.LogInOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLogInOperationCompleted);
}
this.InvokeAsync("LogIn", new object[] {
userName,
password}, this.LogInOperationCompleted, userState);
}
private void OnLogInOperationCompleted(object arg) {
if ((this.LogInCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LogInCompleted(this, new LogInCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bugnetproject.com/LogOut", RequestNamespace="http://bugnetproject.com/", ResponseNamespace="http://bugnetproject.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void LogOut() {
this.Invoke("LogOut", new object[0]);
}
/// <remarks/>
public void LogOutAsync() {
this.LogOutAsync(null);
}
/// <remarks/>
public void LogOutAsync(object userState) {
if ((this.LogOutOperationCompleted == null)) {
this.LogOutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLogOutOperationCompleted);
}
this.InvokeAsync("LogOut", new object[0], this.LogOutOperationCompleted, userState);
}
private void OnLogOutOperationCompleted(object arg) {
if ((this.LogOutCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.LogOutCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bugnetproject.com/CreateNewIssueRevision", RequestNamespace="http://bugnetproject.com/", ResponseNamespace="http://bugnetproject.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool CreateNewIssueRevision(int revision, int issueId, string repository, string revisionAuthor, string revisionDate, string revisionMessage) {
object[] results = this.Invoke("CreateNewIssueRevision", new object[] {
revision,
issueId,
repository,
revisionAuthor,
revisionDate,
revisionMessage});
return ((bool)(results[0]));
}
/// <remarks/>
public void CreateNewIssueRevisionAsync(int revision, int issueId, string repository, string revisionAuthor, string revisionDate, string revisionMessage) {
this.CreateNewIssueRevisionAsync(revision, issueId, repository, revisionAuthor, revisionDate, revisionMessage, null);
}
/// <remarks/>
public void CreateNewIssueRevisionAsync(int revision, int issueId, string repository, string revisionAuthor, string revisionDate, string revisionMessage, object userState) {
if ((this.CreateNewIssueRevisionOperationCompleted == null)) {
this.CreateNewIssueRevisionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateNewIssueRevisionOperationCompleted);
}
this.InvokeAsync("CreateNewIssueRevision", new object[] {
revision,
issueId,
repository,
revisionAuthor,
revisionDate,
revisionMessage}, this.CreateNewIssueRevisionOperationCompleted, userState);
}
private void OnCreateNewIssueRevisionOperationCompleted(object arg) {
if ((this.CreateNewIssueRevisionCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CreateNewIssueRevisionCompleted(this, new CreateNewIssueRevisionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://bugnetproject.com/ChangeTreeNode", RequestNamespace="http://bugnetproject.com/", ResponseNamespace="http://bugnetproject.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public void ChangeTreeNode(string nodeId, string newText, string oldText) {
this.Invoke("ChangeTreeNode", new object[] {
nodeId,
newText,
oldText});
}
/// <remarks/>
public void ChangeTreeNodeAsync(string nodeId, string newText, string oldText) {
this.ChangeTreeNodeAsync(nodeId, newText, oldText, null);
}
/// <remarks/>
public void ChangeTreeNodeAsync(string nodeId, string newText, string oldText, object userState) {
if ((this.ChangeTreeNodeOperationCompleted == null)) {
this.ChangeTreeNodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeTreeNodeOperationCompleted);
}
this.InvokeAsync("ChangeTreeNode", new object[] {
nodeId,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -