* ExtensionManager.cs: Read extension types from the configuration file.
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / ServiceDescriptionReflector.cs
1 // \r
2 // System.Web.Services.Description.ServiceDescriptionReflector.cs\r
3 //\r
4 // Author:\r
5 //   Tim Coleman (tim@timcoleman.com)\r
6 //   Lluis Sanchez Gual (lluis@ximian.com)\r
7 //\r
8 // Copyright (C) Tim Coleman, 2002\r
9 //\r
10 \r
11 using System.Web.Services;\r
12 using System.Xml.Serialization;\r
13 using System.Xml;\r
14 using System.Xml.Schema;\r
15 using System.Web.Services.Protocols;\r
16 \r
17 namespace System.Web.Services.Description {\r
18         public class ServiceDescriptionReflector {\r
19 \r
20                 ProtocolReflector reflector;\r
21                 \r
22                 #region Constructors\r
23         \r
24                 public ServiceDescriptionReflector ()\r
25                 {\r
26                         reflector = new SoapProtocolReflector ();\r
27                 }\r
28                 \r
29                 #endregion // Constructors\r
30 \r
31                 #region Properties\r
32 \r
33                 public XmlSchemas Schemas {\r
34                         get { return reflector.Schemas; }\r
35                 }\r
36 \r
37                 public ServiceDescriptionCollection ServiceDescriptions {\r
38                         get { return reflector.ServiceDescriptions; }\r
39                 }\r
40 \r
41 \r
42                 #endregion // Properties\r
43 \r
44                 #region Methods\r
45 \r
46                 public void Reflect (Type type, string url)\r
47                 {\r
48                         reflector.Reflect (type, url);\r
49                 }\r
50                 \r
51                 \r
52                 #endregion\r
53         }\r
54 }