Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@ -0,0 +1,155 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IAsyncCallTesterContract")]
public interface IAsyncCallTesterContract
{
[System.ServiceModel.OperationContractAttribute(Action = "http://MonoTests.Features.Contracts/IAsyncCallTesterContract/Query", ReplyAction = "http://MonoTests.Features.Contracts/IAsyncCallTesterContract/QueryResponse")]
string Query (string query);
[System.ServiceModel.OperationContractAttribute(AsyncPattern = true, Action = "http://MonoTests.Features.Contracts/IAsyncCallTesterContract/Query", ReplyAction = "http://MonoTests.Features.Contracts/IAsyncCallTesterContract/QueryResponse")]
System.IAsyncResult BeginQuery (string query, System.AsyncCallback callback, object asyncState);
string EndQuery (System.IAsyncResult result);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IAsyncCallTesterContractChannel : IAsyncCallTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class QueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
{
private object [] results;
public QueryCompletedEventArgs (object [] results, System.Exception exception, bool cancelled, object userState) :
base (exception, cancelled, userState)
{
this.results = results;
}
public string Result
{
get
{
base.RaiseExceptionIfNecessary ();
return ((string) (this.results [0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class AsyncCallTesterContractClient : System.ServiceModel.ClientBase<IAsyncCallTesterContract>, IAsyncCallTesterContract
{
private BeginOperationDelegate onBeginQueryDelegate;
private EndOperationDelegate onEndQueryDelegate;
private System.Threading.SendOrPostCallback onQueryCompletedDelegate;
public AsyncCallTesterContractClient ()
{
}
public AsyncCallTesterContractClient (string endpointConfigurationName) :
base (endpointConfigurationName)
{
}
public AsyncCallTesterContractClient (string endpointConfigurationName, string remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public AsyncCallTesterContractClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public AsyncCallTesterContractClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base (binding, remoteAddress)
{
}
public event System.EventHandler<QueryCompletedEventArgs> QueryCompleted;
public string Query (string query)
{
return base.Channel.Query (query);
}
[System.ComponentModel.EditorBrowsableAttribute (System.ComponentModel.EditorBrowsableState.Advanced)]
public System.IAsyncResult BeginQuery (string query, System.AsyncCallback callback, object asyncState)
{
return base.Channel.BeginQuery (query, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute (System.ComponentModel.EditorBrowsableState.Advanced)]
public string EndQuery (System.IAsyncResult result)
{
return base.Channel.EndQuery (result);
}
private System.IAsyncResult OnBeginQuery (object [] inValues, System.AsyncCallback callback, object asyncState)
{
string s = ((string) (inValues [0]));
return this.BeginQuery (s, callback, asyncState);
}
private object [] OnEndQuery (System.IAsyncResult result)
{
string retVal = this.EndQuery (result);
return new object [] {
retVal};
}
private void OnQueryCompleted (object state)
{
System.EventHandler<QueryCompletedEventArgs> handler = this.QueryCompleted;
if ((handler != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs) (state));
handler (this, new QueryCompletedEventArgs (e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void QueryAsync (string query)
{
this.QueryAsync (query, null);
}
public void QueryAsync (string query, object userState)
{
if ((this.onBeginQueryDelegate == null)) {
this.onBeginQueryDelegate = new BeginOperationDelegate (this.OnBeginQuery);
}
if ((this.onEndQueryDelegate == null)) {
this.onEndQueryDelegate = new EndOperationDelegate (this.OnEndQuery);
}
if ((this.onQueryCompletedDelegate == null)) {
this.onQueryCompletedDelegate = new System.Threading.SendOrPostCallback (this.OnQueryCompleted);
}
base.InvokeAsync (this.onBeginQueryDelegate, new object [] {
query}, this.onEndQueryDelegate, this.onQueryCompletedDelegate, userState);
}
}
}

View File

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Features.Contracts", ConfigurationName="Proxy.MonoTests.Features.Client.IAsyncPattern")]
public interface IAsyncPattern
{
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IAsyncPattern/AsyncMethod", ReplyAction="http://MonoTests.Features.Contracts/IAsyncPattern/AsyncMethodResponse")]
int AsyncMethod();
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IAsyncPatternChannel : Proxy.MonoTests.Features.Client.IAsyncPattern, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class AsyncPatternClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IAsyncPattern>, Proxy.MonoTests.Features.Client.IAsyncPattern
{
public AsyncPatternClient()
{
}
public AsyncPatternClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public AsyncPatternClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AsyncPatternClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AsyncPatternClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public int AsyncMethod()
{
return base.Channel.AsyncMethod();
}
}
}

View File

@ -0,0 +1,18 @@
2008-04-07 Vladimir Krasnov <vladimirk@mainsoft.com>
* added: MessageContractTesterProxy.cs
AsyncCallTesterProxy.cs
FaultsTesterProxy.cs
* fixed: UntypedMessageTesterProxy.cs
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
* Added: UntypedMessageTesterProxy.cs
2008-04-06 Vladimir Krasnov <vladimirk@mainsoft.com>
* Added: KnownTypeTesterProxy.cs
2006-04-03 Roei Erez <roeie@ximian.com>
* DataContractTesterProxy.cs
PrimitiveTesterProxy.cs

View File

@ -0,0 +1,243 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="ComplexPrimitiveClass", Namespace="http://MonoTests.Features.Client")]
public partial class ComplexPrimitiveClass : object, System.Runtime.Serialization.IExtensibleDataObject
{
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
private byte byteMemberField;
private double doubleMemberField;
private float floatMemberField;
private int intMemberField;
private long longMemberField;
private sbyte sbyteMemberField;
private short shortMemberField;
private uint uintMemberField;
private ulong ulongMemberField;
private ushort ushortMemberField;
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public byte byteMember
{
get
{
return this.byteMemberField;
}
set
{
this.byteMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public double doubleMember
{
get
{
return this.doubleMemberField;
}
set
{
this.doubleMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public float floatMember
{
get
{
return this.floatMemberField;
}
set
{
this.floatMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public int intMember
{
get
{
return this.intMemberField;
}
set
{
this.intMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public long longMember
{
get
{
return this.longMemberField;
}
set
{
this.longMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public sbyte sbyteMember
{
get
{
return this.sbyteMemberField;
}
set
{
this.sbyteMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public short shortMember
{
get
{
return this.shortMemberField;
}
set
{
this.shortMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public uint uintMember
{
get
{
return this.uintMemberField;
}
set
{
this.uintMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public ulong ulongMember
{
get
{
return this.ulongMemberField;
}
set
{
this.ulongMemberField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public ushort ushortMember
{
get
{
return this.ushortMemberField;
}
set
{
this.ushortMemberField = value;
}
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Integrative.Contracts", ConfigurationName="IDataContractTesterContract")]
public interface IDataContractTesterContract
{
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Integrative.Contracts/IDataContractTesterContract/Add", ReplyAction="http://MonoTests.Integrative.Contracts/IDataContractTesterContract/AddResponse")]
Proxy.MonoTests.Features.Client.ComplexPrimitiveClass Add (Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n1, Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Integrative.Contracts/IDataContractTesterContract/AddByRef", ReplyAction="http://MonoTests.Integrative.Contracts/IDataContractTesterContract/AddByRefRespon" +
"se")]
[return: System.ServiceModel.MessageParameterAttribute(Name="result")]
Proxy.MonoTests.Features.Client.ComplexPrimitiveClass AddByRef (Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n1, Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n2);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IDataContractTesterContractChannel : IDataContractTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class DataContractTesterContractClient : System.ServiceModel.ClientBase<IDataContractTesterContract>, IDataContractTesterContract
{
public DataContractTesterContractClient()
{
}
public DataContractTesterContractClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public DataContractTesterContractClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DataContractTesterContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DataContractTesterContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public Proxy.MonoTests.Features.Client.ComplexPrimitiveClass Add (Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n1, Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n2)
{
return base.Channel.Add(n1, n2);
}
public Proxy.MonoTests.Features.Client.ComplexPrimitiveClass AddByRef (Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n1, Proxy.MonoTests.Features.Client.ComplexPrimitiveClass n2)
{
return base.Channel.AddByRef(n1, n2);
}
}

View File

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Features.Contracts", ConfigurationName="Proxy.MonoTests.Features.Client.IExitProcessHelper")]
public interface IExitProcessHelper
{
[System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://MonoTests.Features.Contracts/IExitProcessHelper/ExitProcess")]
void ExitProcess(int code);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IExitProcessHelperChannel : Proxy.MonoTests.Features.Client.IExitProcessHelper, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class ExitProcessHelperClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IExitProcessHelper>, Proxy.MonoTests.Features.Client.IExitProcessHelper
{
public ExitProcessHelperClient()
{
}
public ExitProcessHelperClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ExitProcessHelperClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ExitProcessHelperClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ExitProcessHelperClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void ExitProcess(int code)
{
base.Channel.ExitProcess(code);
}
}
}

View File

@ -0,0 +1,111 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IFaultsTesterContract")]
public interface IFaultsTesterContract
{
[System.ServiceModel.OperationContractAttribute (Action = "http://MonoTests.Features.Contracts/IFaultsTesterContract/FaultMethod")]
void FaultMethod (string faultText);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IFaultsTesterContractChannel : IFaultsTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class FaultsTesterContractClient : System.ServiceModel.ClientBase<IFaultsTesterContract>, IFaultsTesterContract
{
public FaultsTesterContractClient ()
{
}
public FaultsTesterContractClient (string endpointConfigurationName) :
base (endpointConfigurationName)
{
}
public FaultsTesterContractClient (string endpointConfigurationName, string remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public FaultsTesterContractClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public FaultsTesterContractClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base (binding, remoteAddress)
{
}
public void FaultMethod (string faultText)
{
base.Channel.FaultMethod (faultText);
}
}
//====================
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IFaultsTesterContractIncludeDetails")]
public interface IFaultsTesterContractIncludeDetails
{
[System.ServiceModel.OperationContractAttribute (Action = "http://MonoTests.Features.Contracts/IFaultsTesterContractIncludeDetails/FaultMethod")]
void FaultMethod (string faultText);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IFaultsTesterContractChannelIncludeDetails : IFaultsTesterContractIncludeDetails, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class FaultsTesterContractClientIncludeDetails : System.ServiceModel.ClientBase<IFaultsTesterContractIncludeDetails>, IFaultsTesterContractIncludeDetails
{
public FaultsTesterContractClientIncludeDetails ()
{
}
public FaultsTesterContractClientIncludeDetails (string endpointConfigurationName) :
base (endpointConfigurationName)
{
}
public FaultsTesterContractClientIncludeDetails (string endpointConfigurationName, string remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public FaultsTesterContractClientIncludeDetails (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public FaultsTesterContractClientIncludeDetails (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base (binding, remoteAddress)
{
}
public void FaultMethod (string faultText)
{
base.Channel.FaultMethod (faultText);
}
}
}

View File

@ -0,0 +1,164 @@

namespace Proxy.MonoTests.Features.Client
{
using System.Runtime.Serialization;
using System;
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute (Name = "Point2D", Namespace = "http://MonoTests.Features.Contracts")]
[System.SerializableAttribute ()]
[System.Runtime.Serialization.KnownTypeAttribute (typeof (AdvPoint2D))]
public partial class Point2D : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
{
[System.NonSerializedAttribute ()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute ()]
private int XField;
[System.Runtime.Serialization.OptionalFieldAttribute ()]
private int YField;
[global::System.ComponentModel.BrowsableAttribute (false)]
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
{
get
{
return this.extensionDataField;
}
set
{
this.extensionDataField = value;
}
}
[System.Runtime.Serialization.DataMemberAttribute ()]
public int X
{
get
{
return this.XField;
}
set
{
if ((this.XField.Equals (value) != true)) {
this.XField = value;
this.RaisePropertyChanged ("X");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute ()]
public int Y
{
get
{
return this.YField;
}
set
{
if ((this.YField.Equals (value) != true)) {
this.YField = value;
this.RaisePropertyChanged ("Y");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged (string propertyName)
{
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged (this, new System.ComponentModel.PropertyChangedEventArgs (propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.Runtime.Serialization", "3.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute (Name = "AdvPoint2D", Namespace = "http://MonoTests.Features.Contracts")]
[System.SerializableAttribute ()]
public partial class AdvPoint2D : Point2D
{
[System.Runtime.Serialization.OptionalFieldAttribute ()]
private double ZeroDistanceField;
[System.Runtime.Serialization.DataMemberAttribute ()]
public double ZeroDistance
{
get
{
return this.ZeroDistanceField;
}
set
{
if ((this.ZeroDistanceField.Equals (value) != true)) {
this.ZeroDistanceField = value;
this.RaisePropertyChanged ("ZeroDistance");
}
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IKnownTypeTesterContract")]
public interface IKnownTypeTesterContract
{
[System.ServiceModel.OperationContractAttribute (Action = "http://MonoTests.Features.Contracts/IKnownTypeTesterContract/Move", ReplyAction = "http://MonoTests.Features.Contracts/IKnownTypeTesterContract/MoveResponse")]
Point2D Move (Point2D point, Point2D delta);
[System.ServiceModel.OperationContractAttribute (Action = "http://MonoTests.Features.Contracts/IKnownTypeTesterContract/Distance", ReplyAction = "http://MonoTests.Features.Contracts/IKnownTypeTesterContract/DistanceResponse")]
double Distance (Point2D point1, Point2D point2);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IKnownTypeTesterContractChannel : IKnownTypeTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class KnownTypeTesterContractClient : System.ServiceModel.ClientBase<IKnownTypeTesterContract>, IKnownTypeTesterContract
{
public KnownTypeTesterContractClient ()
{
}
public KnownTypeTesterContractClient (string endpointConfigurationName) :
base (endpointConfigurationName)
{
}
public KnownTypeTesterContractClient (string endpointConfigurationName, string remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public KnownTypeTesterContractClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public KnownTypeTesterContractClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base (binding, remoteAddress)
{
}
public Point2D Move (Point2D point, Point2D delta)
{
return base.Channel.Move (point, delta);
}
public double Distance (Point2D point1, Point2D point2)
{
return base.Channel.Distance (point1, point2);
}
}
}

View File

@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IMessageContractTesterContract")]
public interface IMessageContractTesterContract
{
[System.ServiceModel.OperationContractAttribute (Action = "http://test/TestMessage_action", ReplyAction = "http://test/TestMessage_action")]
TestMessage FormatDate (TestMessage testMessage);
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute (WrapperName = "TestMessage", WrapperNamespace = "http://MonoTests.Features.Contracts", IsWrapped = true)]
public partial class TestMessage
{
[System.ServiceModel.MessageHeaderAttribute (Namespace = "http://MonoTests.Features.Contracts")]
public string FormatString;
[System.ServiceModel.MessageBodyMemberAttribute (Namespace = "http://MonoTests.Features.Contracts", Order = 0)]
public DateTime Date;
[System.ServiceModel.MessageBodyMemberAttribute (Namespace = "http://MonoTests.Features.Contracts", Order = 1)]
public string FormattedDate;
public TestMessage ()
{
}
public TestMessage (DateTime Date, string FormatString, string FormattedDate)
{
this.Date = Date;
this.FormatString = FormatString;
this.FormattedDate = FormattedDate;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IMessageContractTesterContractChannel : IMessageContractTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class MessageContractTesterContractClient : System.ServiceModel.ClientBase<IMessageContractTesterContract>, IMessageContractTesterContract
{
public MessageContractTesterContractClient ()
{
}
public MessageContractTesterContractClient (string endpointConfigurationName) :
base (endpointConfigurationName)
{
}
public MessageContractTesterContractClient (string endpointConfigurationName, string remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public MessageContractTesterContractClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base (endpointConfigurationName, remoteAddress)
{
}
public MessageContractTesterContractClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base (binding, remoteAddress)
{
}
TestMessage IMessageContractTesterContract.FormatDate (TestMessage testMessage)
{
return base.Channel.FormatDate (testMessage);
}
public void Calculate (ref DateTime Date, ref string FormatString, ref string FormattedDate)
{
TestMessage inValue = new TestMessage ();
inValue.Date = Date;
inValue.FormatString = FormatString;
inValue.FormattedDate = FormattedDate;
TestMessage retVal = ((IMessageContractTesterContract) (this)).FormatDate (inValue);
Date = retVal.Date;
FormatString = retVal.FormatString;
FormattedDate = retVal.FormattedDate;
}
}
}

View File

@ -0,0 +1,79 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Features.Contracts", ConfigurationName="Proxy.MonoTests.Features.Client.IOperationContract")]
public interface IOperationContract
{
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IOperationContract/RenamedMethod", ReplyAction="http://MonoTests.Features.Contracts/IOperationContract/RenamedMethodResponse")]
int RenamedMethod();
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IOperationContract/OrigMethod", ReplyAction="http://MonoTests.Features.Contracts/IOperationContract/OrigMethodResponse")]
int OrigMethod();
[System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://MonoTests.Features.Contracts/IOperationContract/Sleep")]
void Sleep(int mili);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IOperationContractChannel : Proxy.MonoTests.Features.Client.IOperationContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class OperationContractClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IOperationContract>, Proxy.MonoTests.Features.Client.IOperationContract
{
public OperationContractClient()
{
}
public OperationContractClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public OperationContractClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public OperationContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public OperationContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public int RenamedMethod()
{
return base.Channel.RenamedMethod();
}
public int OrigMethod()
{
return base.Channel.OrigMethod();
}
public void Sleep(int mili)
{
base.Channel.Sleep(mili);
}
}
}

View File

@ -0,0 +1,169 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://MonoTests.Features.Contracts", ConfigurationName="Proxy.MonoTests.Features.Client.IPrimitiveTesterContract")]
public interface IPrimitiveTesterContract
{
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/DoNothing", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/DoNothingResponse")]
void DoNothing();
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByte", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByteResponse")]
int AddByte(byte n1, byte n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddSByte", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddSByteResponse")]
int AddSByte(sbyte n1, sbyte n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddShort", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddShortResponse")]
int AddShort(short n1, short n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUShort", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUShortResponse")]
int AddUShort(ushort n1, ushort n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddIntResponse")]
int AddInt(int n1, int n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddUIntResponse")]
uint AddUInt(uint n1, uint n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddLong", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddLongResponse")]
long AddLong(long n1, long n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddULong", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddULongResponse")]
ulong AddULong(ulong n1, ulong n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddDouble", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddDoubleResponse")]
double AddDouble(double n1, double n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddFloat", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddFloatResponse")]
float AddFloat(float n1, float n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByRef", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/AddByRefResponse")]
[return: System.ServiceModel.MessageParameterAttribute(Name="n3")]
double AddByRef(out double n4, double n1, double n2);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableInt", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableIntResponse")]
System.Nullable<int> NullableInt(System.Nullable<int> x);
[System.ServiceModel.OperationContractAttribute(Action="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableChar", ReplyAction="http://MonoTests.Features.Contracts/IPrimitiveTesterContract/NullableCharResponse" +
"")]
System.Nullable<char> NullableChar(System.Nullable<char> x);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface IPrimitiveTesterContractChannel : Proxy.MonoTests.Features.Client.IPrimitiveTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class PrimitiveTesterContractClient : System.ServiceModel.ClientBase<Proxy.MonoTests.Features.Client.IPrimitiveTesterContract>, Proxy.MonoTests.Features.Client.IPrimitiveTesterContract
{
public PrimitiveTesterContractClient()
{
}
public PrimitiveTesterContractClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public PrimitiveTesterContractClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public PrimitiveTesterContractClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public PrimitiveTesterContractClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DoNothing()
{
base.Channel.DoNothing();
}
public int AddByte(byte n1, byte n2)
{
return base.Channel.AddByte(n1, n2);
}
public int AddSByte(sbyte n1, sbyte n2)
{
return base.Channel.AddSByte(n1, n2);
}
public int AddShort(short n1, short n2)
{
return base.Channel.AddShort(n1, n2);
}
public int AddUShort(ushort n1, ushort n2)
{
return base.Channel.AddUShort(n1, n2);
}
public int AddInt(int n1, int n2)
{
return base.Channel.AddInt(n1, n2);
}
public uint AddUInt(uint n1, uint n2)
{
return base.Channel.AddUInt(n1, n2);
}
public long AddLong(long n1, long n2)
{
return base.Channel.AddLong(n1, n2);
}
public ulong AddULong(ulong n1, ulong n2)
{
return base.Channel.AddULong(n1, n2);
}
public double AddDouble(double n1, double n2)
{
return base.Channel.AddDouble(n1, n2);
}
public float AddFloat(float n1, float n2)
{
return base.Channel.AddFloat(n1, n2);
}
public double AddByRef(out double n4, double n1, double n2)
{
return base.Channel.AddByRef(out n4, n1, n2);
}
public System.Nullable<int> NullableInt(System.Nullable<int> x)
{
return base.Channel.NullableInt(x);
}
public System.Nullable<char> NullableChar(System.Nullable<char> x)
{
return base.Channel.NullableChar(x);
}
}
}

View File

@ -0,0 +1,58 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Proxy.MonoTests.Features.Client
{
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute (Namespace = "http://MonoTests.Features.Contracts", ConfigurationName = "IUntypedMessageTesterContract")]
public interface IUntypedMessageTesterContract
{
[System.ServiceModel.OperationContractAttribute (Action = "http://localhost/UntypedMessageTester/Message_RequestAction", ReplyAction = "http://localhost/UntypedMessageTester/Message_ReplyAction")]
System.ServiceModel.Channels.Message ConcatStrings (System.ServiceModel.Channels.Message request);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public interface IUntypedMessageTesterContractChannel : IUntypedMessageTesterContract, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute ()]
[System.CodeDom.Compiler.GeneratedCodeAttribute ("System.ServiceModel", "3.0.0.0")]
public partial class UntypedMessageTesterContractClient : System.ServiceModel.ClientBase<IUntypedMessageTesterContract>, IUntypedMessageTesterContract
{
public UntypedMessageTesterContractClient ()
{
}
public UntypedMessageTesterContractClient (string endpointConfigurationName)
:
base (endpointConfigurationName)
{
}
public UntypedMessageTesterContractClient (string endpointConfigurationName, string remoteAddress)
:
base (endpointConfigurationName, remoteAddress)
{
}
public UntypedMessageTesterContractClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
:
base (endpointConfigurationName, remoteAddress)
{
}
public UntypedMessageTesterContractClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
:
base (binding, remoteAddress)
{
}
public System.ServiceModel.Channels.Message ConcatStrings (System.ServiceModel.Channels.Message request)
{
return base.Channel.ConcatStrings (request);
}
}
}