2002-07-26 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / SoapAddressBinding.cs
1 // \r
2 // System.Web.Services.Description.SoapAddressBinding.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 using System.Web.Services.Configuration;\r
11 using System.Xml.Serialization;\r
12 \r
13 namespace System.Web.Services.Description {\r
14         [XmlFormatExtension ("address", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (Port))]\r
15         public sealed class SoapAddressBinding : ServiceDescriptionFormatExtension {\r
16 \r
17                 #region Fields\r
18 \r
19                 string location;\r
20 \r
21                 #endregion // Fields\r
22 \r
23                 #region Constructors\r
24                 \r
25                 public SoapAddressBinding ()\r
26                 {\r
27                         location = String.Empty;\r
28                 }\r
29                 \r
30                 #endregion // Constructors\r
31 \r
32                 #region Properties\r
33 \r
34                 [XmlAttribute ("location")]\r
35                 public string Location {        \r
36                         get { return location; }\r
37                         set { location = value; }\r
38                 }\r
39         \r
40                 #endregion // Properties\r
41         }\r
42 }\r