mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* UI/*.cs -- Added a few attributes. * WebControls/*.cs -- Applied the attributes * ChangeLog -- Notification svn path=/trunk/mcs/; revision=3353
50 lines
962 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|