WPI: GetWPIProductById
This commit is contained in:
parent
b62b699461
commit
7ceccd4c10
7 changed files with 437 additions and 238 deletions
|
@ -26,10 +26,11 @@
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
// Runtime Version:2.0.50727.5466
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
|
@ -39,8 +40,7 @@
|
|||
//
|
||||
// This source code was auto-generated by wsdl, Version=2.0.50727.42.
|
||||
//
|
||||
namespace WebsitePanel.Server
|
||||
{
|
||||
namespace WebsitePanel.Server {
|
||||
using System.Diagnostics;
|
||||
using System.Web.Services;
|
||||
using System.ComponentModel;
|
||||
|
@ -48,7 +48,7 @@ namespace WebsitePanel.Server
|
|||
using System;
|
||||
using System.Xml.Serialization;
|
||||
using WebsitePanel.Providers;
|
||||
|
||||
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
|
||||
|
@ -73,6 +73,8 @@ namespace WebsitePanel.Server
|
|||
|
||||
private System.Threading.SendOrPostCallback GetWPIProductsFilteredOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback GetWPIProductByIdOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback GetWPITabsOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback InitWPIFeedsOperationCompleted;
|
||||
|
@ -132,6 +134,9 @@ namespace WebsitePanel.Server
|
|||
/// <remarks/>
|
||||
public event GetWPIProductsFilteredCompletedEventHandler GetWPIProductsFilteredCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event GetWPIProductByIdCompletedEventHandler GetWPIProductByIdCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event GetWPITabsCompletedEventHandler GetWPITabsCompleted;
|
||||
|
||||
|
@ -496,6 +501,47 @@ namespace WebsitePanel.Server
|
|||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetWPIProductById", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public WPIProduct GetWPIProductById(string productdId) {
|
||||
object[] results = this.Invoke("GetWPIProductById", new object[] {
|
||||
productdId});
|
||||
return ((WPIProduct)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginGetWPIProductById(string productdId, System.AsyncCallback callback, object asyncState) {
|
||||
return this.BeginInvoke("GetWPIProductById", new object[] {
|
||||
productdId}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public WPIProduct EndGetWPIProductById(System.IAsyncResult asyncResult) {
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((WPIProduct)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetWPIProductByIdAsync(string productdId) {
|
||||
this.GetWPIProductByIdAsync(productdId, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetWPIProductByIdAsync(string productdId, object userState) {
|
||||
if ((this.GetWPIProductByIdOperationCompleted == null)) {
|
||||
this.GetWPIProductByIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWPIProductByIdOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("GetWPIProductById", new object[] {
|
||||
productdId}, this.GetWPIProductByIdOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnGetWPIProductByIdOperationCompleted(object arg) {
|
||||
if ((this.GetWPIProductByIdCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.GetWPIProductByIdCompleted(this, new GetWPIProductByIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/server/GetWPITabs", RequestNamespace="http://smbsaas/websitepanel/server/", ResponseNamespace="http://smbsaas/websitepanel/server/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public WPITab[] GetWPITabs() {
|
||||
|
@ -1237,6 +1283,32 @@ namespace WebsitePanel.Server
|
|||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
|
||||
public delegate void GetWPIProductByIdCompletedEventHandler(object sender, GetWPIProductByIdCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class GetWPIProductByIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal GetWPIProductByIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public WPIProduct Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((WPIProduct)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
|
||||
public delegate void GetWPITabsCompletedEventHandler(object sender, GetWPITabsCompletedEventArgs e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue