⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 titlesservice.cs

📁 asp.net技术内幕的书配源码
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.3705.288
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl, Version=1.0.3705.288.
// 
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;


/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public class TitlesService : System.Web.Services.Protocols.HttpGetClientProtocol {
    
    /// <remarks/>
    public TitlesService() {
        this.Url = "http://localhost/webservices";
    }
    
    /// <remarks/>
    [System.Web.Services.Protocols.HttpMethodAttribute(typeof(System.Web.Services.Protocols.TextReturnReader), typeof(System.Web.Services.Protocols.UrlParameterWriter))]
    public GetTitlesMatches GetTitles() {
        return ((GetTitlesMatches)(this.Invoke("GetTitles", (this.Url + "/Titles.aspx?type=business"), new object[0])));
    }
    
    /// <remarks/>
    public System.IAsyncResult BeginGetTitles(System.AsyncCallback callback, object asyncState) {
        return this.BeginInvoke("GetTitles", (this.Url + "/Titles.aspx?type=business"), new object[0], callback, asyncState);
    }
    
    /// <remarks/>
    public GetTitlesMatches EndGetTitles(System.IAsyncResult asyncResult) {
        return ((GetTitlesMatches)(this.EndInvoke(asyncResult)));
    }
}

public class GetTitlesMatches {
    
    [System.Web.Services.Protocols.MatchAttribute("<li>(.*?)- \\$", IgnoreCase=true, MaxRepeats=100)]
    public string[] Titles;
    
    [System.Web.Services.Protocols.MatchAttribute("\\$([\\d|\\.]+)", IgnoreCase=true, MaxRepeats=100)]
    public string[] Prices;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -