Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteBrail / Controllers / DslController.cs
blobf111c1b68d203fefe5b2e6d9aed60c2cbde6a1c7
1 namespace Castle.MonoRail.Views.Brail.TestSite.Controllers
3 using System;
4 using System.Collections;
5 using Castle.MonoRail.Framework;
7 [Serializable, Layout("dsl")]
8 public class DslController : SmartDispatcherController
10 public void TestSubViewOutput()
12 PropertyBag["SayHelloTo"] = "Harris";
15 public void TestSubViewWithComponents()
17 PropertyBag["items"] = new string[]
19 "Ayende",
20 "Rahien"
21 };
24 public void TestXml()
26 PropertyBag["items"] = new string[]
28 "Ayende",
29 "Rahien"