Files
mono/mcs/class/System.Web/System.Web.Security/FormsAuthenticationEventArgs.cs
T
Gaurav Vaish 3e6b661ec5 2002-03-05 Gaurav Vaish <[email protected]>
* *.cs -- *EventHandler.cs - Minor Corrections.

* Others -- Either complete, or first draft.

* ChangeLog, TODO -- Updated in accordance.

svn path=/trunk/mcs/; revision=2900
2002-03-05 11:17:46 +00:00

53 lines
869 B
C#

/**
* Namespace: System.Web.Security
* Class: FormsAuthenticationEventArgs
*
* Author: Gaurav Vaish
* Maintainer: [email protected]
* Contact: <[email protected]>, <[email protected]>
* Implementation: yes
* Status: 90%
*
* (C) Gaurav Vaish (2002)
*/
using System;
using System.Web;
using System.Security.Principal;
namespace System.Web.Security
{
public sealed class FormsAuthenticationEventArgs : EventArgs
{
HttpContext context;
IPrincipal user;
public FormsAuthenticationEventArgs(HttpContext context)
{
this.context = context;
}
public HttpContext Context
{
get
{
return context;
}
}
[MonoTODO]
public IPrincipal User
{
get
{
return user;
}
set
{
// context.User?
throw new NotImplementedException();
}
}
}
}