2002-07-19 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / SoapOperationBinding.cs
1 // \r
2 // System.Web.Services.Description.SoapOperationBinding.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //\r
7 // Copyright (C) Tim Coleman, 2002\r
8 //\r
9 \r
10 namespace System.Web.Services.Description {\r
11         public sealed class SoapOperationBinding : ServiceDescriptionFormatExtension {\r
12 \r
13                 #region Fields\r
14 \r
15                 string soapAction;\r
16                 SoapBindingStyle style;\r
17 \r
18                 #endregion // Fields\r
19 \r
20                 #region Constructors\r
21         \r
22                 public SoapOperationBinding ()\r
23                 {\r
24                         soapAction = String.Empty;\r
25                         style = SoapBindingStyle.Document;\r
26                 }\r
27                 \r
28                 #endregion // Constructors\r
29 \r
30                 #region Properties\r
31 \r
32                 public string SoapAction {\r
33                         get { return soapAction; }\r
34                         set { soapAction = value; }\r
35                 }\r
36 \r
37                 public SoapBindingStyle Style {\r
38                         get { return style; }\r
39                         set { style = value; }\r
40                 }\r
41 \r
42                 #endregion // Properties\r
43         }\r
44 }\r