Files
mono/mcs/class/System.Web/System.Web.UI/DataBindingHandlerAttribute.cs
T
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00

50 lines
962 B
C#

/**
* Namespace: System.Web.UI
* Class: DataBindingHandlerAttribute
*
* Author: Gaurav Vaish
* Maintainer: [email protected]
* Contact: <[email protected]>, <[email protected]>
* Implementation: yes
* Status: 100%
*
* (C) Gaurav Vaish (2002)
*/
using System;
using System.Reflection;
namespace System.Web.UI
{
[AttributeUsage(AttributeTargets.Class)]
public sealed class DataBindingHandlerAttribute : Attribute
{
public static readonly DataBindingHandlerAttribute Default;
private string handlerTypeName;
public DataBindingHandlerAttribute()
{
handlerTypeName = String.Empty;
}
public DataBindingHandlerAttribute(string typeName)
{
handlerTypeName = typeName;
}
public DataBindingHandlerAttribute(Type type)
{
handlerTypeName = type.AssemblyQualifiedName;
}
public string HandlerTypeName
{
get
{
return handlerTypeName;
}
}
}
}