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