| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /**
- * 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;
- }
- }
- }
- }
|