File: PrimitiveTester.cs

package info (click to toggle)
mono 4.6.2.7+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 778,148 kB
  • ctags: 914,052
  • sloc: cs: 5,779,509; xml: 2,773,713; ansic: 432,645; sh: 14,749; makefile: 12,361; perl: 2,488; python: 1,434; cpp: 849; asm: 531; sql: 95; sed: 16; php: 1
file content (169 lines) | stat: -rw-r--r-- 8,183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
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);
        }
    }
}