* Methods.cs: Set the correct element name and namespace for headers (those
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / SoapRpcServiceAttribute.cs
1 // \r
2 // System.Web.Services.Protocols.SoapRpcServiceAttribute.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.Protocols {\r
11         [AttributeUsage (AttributeTargets.Class)]\r
12         public sealed class SoapRpcServiceAttribute : Attribute {\r
13 \r
14                 #region Fields\r
15 \r
16                 SoapServiceRoutingStyle routingStyle;\r
17 \r
18                 #endregion // Fields\r
19 \r
20                 #region Constructors\r
21 \r
22                 public SoapRpcServiceAttribute ()\r
23                 {\r
24                         routingStyle = SoapServiceRoutingStyle.SoapAction;\r
25                 }\r
26 \r
27                 #endregion // Constructors\r
28 \r
29                 #region Properties\r
30 \r
31                 public SoapServiceRoutingStyle RoutingStyle {\r
32                         get { return routingStyle; }\r
33                         set { routingStyle = value; }\r
34                 }\r
35 \r
36                 #endregion // Properties\r
37         }\r
38 }\r