2002-07-19 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / MimeContentBinding.cs
1 // \r
2 // System.Web.Services.Description.MimeContentBinding.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 MimeContentBinding : ServiceDescriptionFormatExtension {\r
12 \r
13                 #region Fields\r
14 \r
15                 public const string Namespace = "http://schemas.xmlsoap.org/wsdl/mime/";\r
16                 string part;\r
17                 string type;\r
18 \r
19                 #endregion // Fields\r
20 \r
21                 #region Constructors\r
22                 \r
23                 public MimeContentBinding ()\r
24                 {\r
25                         part = String.Empty;\r
26                         type = String.Empty;\r
27                 }\r
28                 \r
29                 #endregion // Constructors\r
30 \r
31                 #region Properties\r
32         \r
33                 public string Part {\r
34                         get { return part; }\r
35                         set { part = value; }\r
36                 }\r
37 \r
38                 public string Type {\r
39                         get { return type; }\r
40                         set { type = value; }\r
41                 }\r
42 \r
43                 #endregion // Properties\r
44         }\r
45 }\r