Files
mono/mcs/class/System.Web/System.Web.UI/ControlBuilderAttribute.cs
T
Duncan Mak aba2324a17 2002-05-10 Duncan Mak <[email protected]>
* ConstructorNeedsTagAttribute.cs:
	* ControlBuilderAttribute.cs:
	* ImageClickEventArgs.cs:
	* ParseChildrenAttribute.cs:
	* PartialCachingAttribute.cs:
	* PersistChildrenAttribute.cs:
	* PersistenceModeAttribute.cs:
	* TemplateContainerAttribute.cs: Added to CVS.

	* PersistanceMode.cs: Removed, fixed typo.
	* PersistenceMode.cs: Replacing above.

	* StateBag.cs (this): Fixed indexer, it takes a string as the
	index, not an object.

svn path=/trunk/mcs/; revision=4498
2002-05-10 18:51:24 +00:00

46 lines
738 B
C#
Executable File

//
// System.Web.UI.ControlBuilderAttribute.cs
//
// Duncan Mak ([email protected])
//
// (C) Ximian, Inc.
using System;
namespace System.Web.UI {
[AttributeUsage (AttributeTargets.Class)]
public sealed class ControlBuilderAttribute : Attribute
{
Type builderType;
public static readonly ControlBuilderAttribute Default;
public ControlBuilderAttribute (Type builderType)
{
this.builderType = builderType;
}
public Type BuilderType {
get { return builderType; }
}
[MonoTODO]
public override bool Equals (object obj)
{
return false;
}
[MonoTODO]
public override int GetHashCode ()
{
return 42;
}
[MonoTODO]
public override bool IsDefaultAttribute ()
{
return false;
}
}
}