mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* 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
53 lines
1018 B
C#
Executable File
53 lines
1018 B
C#
Executable File
//
|
|
// System.Web.UI.PersistenceModeAttribute.cs
|
|
//
|
|
// Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc.
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Web.UI {
|
|
|
|
[AttributeUsage (AttributeTargets.Class)]
|
|
public sealed class PersistenceModeAttribute : Attribute
|
|
{
|
|
PersistenceMode mode;
|
|
|
|
public PersistenceModeAttribute (PersistenceMode mode)
|
|
{
|
|
this.mode = mode;
|
|
}
|
|
|
|
public static readonly PersistenceModeAttribute Attribute;
|
|
public static readonly PersistenceModeAttribute Default;
|
|
public static readonly PersistenceModeAttribute EncodedInnerDefaultProperty;
|
|
public static readonly PersistenceModeAttribute InnerDefaultProperty;
|
|
public static readonly PersistenceModeAttribute InnerProperty;
|
|
|
|
public PersistenceMode Mode {
|
|
get { return mode; }
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override bool Equals (object obj)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override int GetHashCode ()
|
|
{
|
|
return 42;
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override bool IsDefaultAttribute ()
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
|