//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.209
//
// 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 Microsoft.VSDesigner, Version 1.0.3705.209.
//
namespace DesktopBob.com.codeproject.www {
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")]
[System.Web.Services.WebServiceBindingAttribute(Name="LatestBriefSoap", Namespace="http://codeproject.com/webservices/")]
public class LatestBrief : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public LatestBrief() {
this.Url = "http://www.codeproject.com/webservices/latest.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetArticleLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetArticleLatestUpdatePeriod() {
object[] results = this.Invoke("GetArticleLatestUpdatePeriod", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetArticleLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetArticleLatestUpdatePeriod", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetArticleLatestUpdatePeriod(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLoungeLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetLoungeLatestUpdatePeriod() {
object[] results = this.Invoke("GetLoungeLatestUpdatePeriod", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLoungeLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLoungeLatestUpdatePeriod", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetLoungeLatestUpdatePeriod(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetCommentLatestUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetCommentLatestUpdatePeriod() {
object[] results = this.Invoke("GetCommentLatestUpdatePeriod", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetCommentLatestUpdatePeriod(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCommentLatestUpdatePeriod", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetCommentLatestUpdatePeriod(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetNewsflashUpdatePeriod", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetNewsflashUpdatePeriod() {
object[] results = this.Invoke("GetNewsflashUpdatePeriod", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetNewsflashUpdatePeriod(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetNewsflashUpdatePeriod", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetNewsflashUpdatePeriod(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxArticleListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetMaxArticleListLength() {
object[] results = this.Invoke("GetMaxArticleListLength", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetMaxArticleListLength(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMaxArticleListLength", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetMaxArticleListLength(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxLoungeListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetMaxLoungeListLength() {
object[] results = this.Invoke("GetMaxLoungeListLength", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetMaxLoungeListLength(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMaxLoungeListLength", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetMaxLoungeListLength(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetMaxCommentListLength", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int GetMaxCommentListLength() {
object[] results = this.Invoke("GetMaxCommentListLength", new object[0]);
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetMaxCommentListLength(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMaxCommentListLength", new object[0], callback, asyncState);
}
/// <remarks/>
public int EndGetMaxCommentListLength(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetNewsflash", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetNewsflash() {
object[] results = this.Invoke("GetNewsflash", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetNewsflash(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetNewsflash", new object[0], callback, asyncState);
}
/// <remarks/>
public string EndGetNewsflash(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestArticleBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
public ArticleBrief[] GetLatestArticleBrief(int NumArticles) {
object[] results = this.Invoke("GetLatestArticleBrief", new object[] {
NumArticles});
return ((ArticleBrief[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLatestArticleBrief(int NumArticles, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLatestArticleBrief", new object[] {
NumArticles}, callback, asyncState);
}
/// <remarks/>
public ArticleBrief[] EndGetLatestArticleBrief(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ArticleBrief[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestLoungeBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
public MessageBrief[] GetLatestLoungeBrief(int NumMsgs) {
object[] results = this.Invoke("GetLatestLoungeBrief", new object[] {
NumMsgs});
return ((MessageBrief[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLatestLoungeBrief(int NumMsgs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLatestLoungeBrief", new object[] {
NumMsgs}, callback, asyncState);
}
/// <remarks/>
public MessageBrief[] EndGetLatestLoungeBrief(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((MessageBrief[])(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://codeproject.com/webservices/GetLatestCommentsBrief", RequestNamespace="http://codeproject.com/webservices/", ResponseNamespace="http://codeproject.com/webservices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlArrayItemAttribute(IsNullable=false)]
public MessageBrief[] GetLatestCommentsBrief(int NumMsgs) {
object[] results = this.Invoke("GetLatestCommentsBrief", new object[] {
NumMsgs});
return ((MessageBrief[])(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetLatestCommentsBrief(int NumMsgs, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetLatestCommentsBrief", new object[] {
NumMsgs}, callback, asyncState);
}
/// <remarks/>
public MessageBrief[] EndGetLatestCommentsBrief(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((MessageBrief[])(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
public class ArticleBrief {
/// <remarks/>
public string URL;
/// <remarks/>
public string Title;
/// <remarks/>
public string Author;
/// <remarks/>
public System.DateTime Posted;
/// <remarks/>
public System.DateTime Updated;
/// <remarks/>
public StatusValues Status;
/// <remarks/>
public string Description;
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
[System.FlagsAttribute()]
public enum StatusValues {
/// <remarks/>
Unknown = 1,
/// <remarks/>
Available = 2,
/// <remarks/>
New = 4,
/// <remarks/>
Updated = 8,
/// <remarks/>
Moved = 16,
/// <remarks/>
Unavailable = 32,
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
public class MessageBrief {
/// <remarks/>
public string URL;
/// <remarks/>
public string Subject;
/// <remarks/>
public string Author;
/// <remarks/>
public System.DateTime Date;
/// <remarks/>
public bool ThreadRoot;
/// <remarks/>
public int MsgsInThread;
/// <remarks/>
public ForumType Type;
/// <remarks/>
public string MsgBoardName;
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://codeproject.com/webservices/")]
[System.FlagsAttribute()]
public enum ForumType {
/// <remarks/>
None = 1,
/// <remarks/>
MessageBoard = 2,
/// <remarks/>
Article = 4,
/// <remarks/>
Feature = 8,
/// <remarks/>
ThirdParty = 16,
/// <remarks/>
FreeForm = 32,
/// <remarks/>
All = 64,
}
}