Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Igloo.Clinic.Web / Views / Site.Master.cs
blob490f55aac4d5b9cd0b59f64812054d65923c5b39
1 using System;
2 using Castle.Igloo;
3 using Castle.Igloo.Attributes;
4 using Igloo.Clinic.Domain;
5 using Igloo.Clinic.Application;
6 using Castle.Igloo.UI.Web;
8 namespace Igloo.Clinic.Web.Views
10 public partial class Site : MasterPage
12 private Doctor _doctor = null;
13 private LoginController _loginController = null;
15 [Inject(Name = "doctor", Scope = ScopeType.Session)]
16 public Doctor Doctor
18 set { _doctor = value; }
21 public LoginController LoginController
23 set { _loginController = value; }
26 protected void Page_Load(object sender, EventArgs e)
28 LiteralName.Text += _doctor.Name;
31 protected void LinkButtonLogout_Click(object sender, EventArgs e)
33 _loginController.LogOut();