//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace SealTest.NSTWsProvider
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://web.nts.nsp.nsi.dk/", ConfigurationName="SealTest.NSTWsProvider.NtsWSProvider")]
public interface NtsWSProvider
{
[System.ServiceModel.OperationContractAttribute(Action="http://web.nts.nsp.nsi.dk/NtsWSProvider/invoke", ReplyAction="http://web.nts.nsp.nsi.dk/NtsWSProvider/invokeResponse")]
System.Threading.Tasks.Task invokeAsync(SealTest.NSTWsProvider.invoke request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class invoke
{
[System.ServiceModel.MessageBodyMemberAttribute(Name="invoke", Namespace="http://web.nts.nsp.nsi.dk/", Order=0)]
public object invoke1;
public invoke()
{
}
public invoke(object invoke1)
{
this.invoke1 = invoke1;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class invokeResponse
{
[System.ServiceModel.MessageBodyMemberAttribute(Name="invokeResponse", Namespace="http://web.nts.nsp.nsi.dk/", Order=0)]
public object invokeResponse1;
public invokeResponse()
{
}
public invokeResponse(object invokeResponse1)
{
this.invokeResponse1 = invokeResponse1;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
public interface NtsWSProviderChannel : SealTest.NSTWsProvider.NtsWSProvider, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3")]
public partial class NtsWSProviderClient : System.ServiceModel.ClientBase, SealTest.NSTWsProvider.NtsWSProvider
{
public NtsWSProviderClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.Threading.Tasks.Task SealTest.NSTWsProvider.NtsWSProvider.invokeAsync(SealTest.NSTWsProvider.invoke request)
{
return base.Channel.invokeAsync(request);
}
public System.Threading.Tasks.Task invokeAsync(object invoke1)
{
SealTest.NSTWsProvider.invoke inValue = new SealTest.NSTWsProvider.invoke();
inValue.invoke1 = invoke1;
return ((SealTest.NSTWsProvider.NtsWSProvider)(this)).invokeAsync(inValue);
}
public virtual System.Threading.Tasks.Task OpenAsync()
{
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
}
public virtual System.Threading.Tasks.Task CloseAsync()
{
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
}
}
}