Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / Castle.MonoRail.Framework / Views / Aspx / PageBase.cs
blob11ada082abe86faaca68cc1ccd7bf3d55b886eec
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail.Framework.Views.Aspx
17 using System.Collections;
18 using Helpers;
19 using Page=System.Web.UI.Page;
21 /// <summary>
22 /// Pendent
23 /// </summary>
24 public class PageBase : Page
26 private IControllerContext controllerContext;
27 private FormHelper form;
28 private UrlHelper url;
29 private TextHelper text;
31 /// <summary>
32 /// Gets or sets the controller context.
33 /// </summary>
34 /// <value>The controller context.</value>
35 public IControllerContext ControllerContext
37 get { return controllerContext; }
38 set { controllerContext = value; }
41 /// <summary>
42 /// Gets the property bag.
43 /// </summary>
44 /// <value>The property bag.</value>
45 public IDictionary PropertyBag
47 get { return controllerContext.PropertyBag; }
50 /// <summary>
51 /// Gets or sets the form helper.
52 /// </summary>
53 /// <value>The form helper.</value>
54 public FormHelper FormHelper
56 get { return form; }
57 set { form = value; }
60 /// <summary>
61 /// Gets or sets the URL.
62 /// </summary>
63 /// <value>The URL.</value>
64 public UrlHelper UrlHelper
66 get { return url; }
67 set { url = value; }
70 /// <summary>
71 /// Gets or sets the text helper.
72 /// </summary>
73 /// <value>The text helper.</value>
74 public TextHelper TextHelper
76 get { return text; }
77 set { text = value; }