New test.
[mono.git] / mcs / class / System.Web / System.Web.UI.Adapters / ControlAdapter.cs
1 //
2 // System.Web.UI.Adapters.ControlAdapter
3 //
4 // Author:
5 //      Dick Porter  <dick@ximian.com>
6 //
7 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
8 //
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
16 // 
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
19 // 
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 //
28
29 #if NET_2_0
30 using System.Web;
31 using System.Web.UI;
32 using System.ComponentModel;
33
34 namespace System.Web.UI.Adapters
35 {
36         public abstract class ControlAdapter
37         {
38                 protected ControlAdapter ()
39                 {
40                 }
41
42                 [MonoTODO]
43                 protected HttpBrowserCapabilities Browser 
44                 {
45                         get {
46                                 throw new NotImplementedException ();
47                         }
48                 }
49
50                 [MonoTODO]
51                 [Browsable (false)]
52                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
53                 protected Control Control 
54                 {
55                         get {
56                                 throw new NotImplementedException ();
57                         }
58                 }
59
60                 [MonoTODO]
61                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
62                 [Browsable (false)]
63                 protected Page Page 
64                 {
65                         get {
66                                 throw new NotImplementedException ();
67                         }
68                 }
69                 
70                 [MonoTODO]
71                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
72                 [Browsable (false)]
73                 protected PageAdapter PageAdapter 
74                 {
75                         get {
76                                 throw new NotImplementedException ();
77                         }
78                 }
79
80                 [MonoTODO]
81                 protected internal virtual void BeginRender (HtmlTextWriter w)
82                 {
83                         throw new NotImplementedException ();
84                 }
85
86                 [MonoTODO]
87                 protected internal virtual void CreateChildControls ()
88                 {
89                         throw new NotImplementedException ();
90                 }
91
92                 [MonoTODO]
93                 protected internal virtual void EndRender (HtmlTextWriter w)
94                 {
95                         throw new NotImplementedException ();
96                 }
97
98                 [MonoTODO]
99                 protected internal virtual void LoadAdapterControlState (object state)
100                 {
101                         throw new NotImplementedException ();
102                 }
103
104                 [MonoTODO]
105                 protected internal virtual void LoadAdapterViewState (object state)
106                 {
107                         throw new NotImplementedException ();
108                 }
109
110                 [MonoTODO]
111                 protected internal virtual void OnInit (EventArgs e)
112                 {
113                         throw new NotImplementedException ();
114                 }
115
116                 [MonoTODO]
117                 protected internal virtual void OnLoad (EventArgs e)
118                 {
119                         throw new NotImplementedException ();
120                 }
121
122                 [MonoTODO]
123                 protected internal virtual void OnPreRender (EventArgs e)
124                 {
125                         throw new NotImplementedException ();
126                 }
127
128                 [MonoTODO]
129                 protected internal virtual void OnUnload (EventArgs e)
130                 {
131                         throw new NotImplementedException ();
132                 }
133
134                 [MonoTODO]
135                 protected internal virtual void Render (HtmlTextWriter w)
136                 {
137                         throw new NotImplementedException ();
138                 }
139
140                 [MonoTODO]
141                 protected internal virtual void RenderChildren (HtmlTextWriter w)
142                 {
143                         throw new NotImplementedException ();
144                 }
145
146                 [MonoTODO]
147                 protected internal virtual object SaveAdapterControlState ()
148                 {
149                         throw new NotImplementedException ();
150                 }
151
152                 [MonoTODO]
153                 protected internal virtual object SaveAdapterViewState ()
154                 {
155                         throw new NotImplementedException ();
156                 }
157         }
158 }
159 #endif