?? reference.cs
字號(hào):
}
/// <remarks/>
public void GetRoomsAsync(string gameid, object userState) {
if ((this.GetRoomsOperationCompleted == null)) {
this.GetRoomsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRoomsOperationCompleted);
}
this.InvokeAsync("GetRooms", new object[] {
gameid}, this.GetRoomsOperationCompleted, userState);
}
private void OnGetRoomsOperationCompleted(object arg) {
if ((this.GetRoomsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetRoomsCompleted(this, new GetRoomsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/GetTables", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetTables() {
object[] results = this.Invoke("GetTables", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void GetTablesAsync() {
this.GetTablesAsync(null);
}
/// <remarks/>
public void GetTablesAsync(object userState) {
if ((this.GetTablesOperationCompleted == null)) {
this.GetTablesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTablesOperationCompleted);
}
this.InvokeAsync("GetTables", new object[0], this.GetTablesOperationCompleted, userState);
}
private void OnGetTablesOperationCompleted(object arg) {
if ((this.GetTablesCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetTablesCompleted(this, new GetTablesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/HelloWorld", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string HelloWorld() {
object[] results = this.Invoke("HelloWorld", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void HelloWorldAsync() {
this.HelloWorldAsync(null);
}
/// <remarks/>
public void HelloWorldAsync(object userState) {
if ((this.HelloWorldOperationCompleted == null)) {
this.HelloWorldOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHelloWorldOperationCompleted);
}
this.InvokeAsync("HelloWorld", new object[0], this.HelloWorldOperationCompleted, userState);
}
private void OnHelloWorldOperationCompleted(object arg) {
if ((this.HelloWorldCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.HelloWorldCompleted(this, new HelloWorldCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/StartMatch", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string StartMatch() {
object[] results = this.Invoke("StartMatch", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void StartMatchAsync() {
this.StartMatchAsync(null);
}
/// <remarks/>
public void StartMatchAsync(object userState) {
if ((this.StartMatchOperationCompleted == null)) {
this.StartMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStartMatchOperationCompleted);
}
this.InvokeAsync("StartMatch", new object[0], this.StartMatchOperationCompleted, userState);
}
private void OnStartMatchOperationCompleted(object arg) {
if ((this.StartMatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.StartMatchCompleted(this, new StartMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/EndMatch", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string EndMatch() {
object[] results = this.Invoke("EndMatch", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void EndMatchAsync() {
this.EndMatchAsync(null);
}
/// <remarks/>
public void EndMatchAsync(object userState) {
if ((this.EndMatchOperationCompleted == null)) {
this.EndMatchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEndMatchOperationCompleted);
}
this.InvokeAsync("EndMatch", new object[0], this.EndMatchOperationCompleted, userState);
}
private void OnEndMatchOperationCompleted(object arg) {
if ((this.EndMatchCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.EndMatchCompleted(this, new EndMatchCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("CredentialSoapHeaderValue")]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hawkwolf.com/webservices/GetMessage", RequestNamespace="http://hawkwolf.com/webservices/", ResponseNamespace="http://hawkwolf.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetMessage() {
object[] results = this.Invoke("GetMessage", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public void GetMessageAsync() {
this.GetMessageAsync(null);
}
/// <remarks/>
public void GetMessageAsync(object userState) {
if ((this.GetMessageOperationCompleted == null)) {
this.GetMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMessageOperationCompleted);
}
this.InvokeAsync("GetMessage", new object[0], this.GetMessageOperationCompleted, userState);
}
private void OnGetMessageOperationCompleted(object arg) {
if ((this.GetMessageCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetMessageCompleted(this, new GetMessageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.42")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://hawkwolf.com/webservices/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://hawkwolf.com/webservices/", IsNullable=false)]
public partial class CredentialSoapHeader : System.Web.Services.Protocols.SoapHeader {
private string credentialTicketField;
private System.Xml.XmlAttribute[] anyAttrField;
/// <remarks/>
public string CredentialTicket {
get {
return this.credentialTicketField;
}
set {
this.credentialTicketField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr {
get {
return this.anyAttrField;
}
set {
this.anyAttrField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
public delegate void LoginCompletedEventHandler(object sender, LoginCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -