| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- //
- // System.ComponentModel.NotifyParentPropertyAttribute.cs
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2002
- //
- //
- namespace System.ComponentModel {
- [AttributeUsage (AttributeTargets.Property)]
- public sealed class NotifyParentPropertyAttribute : Attribute {
- #region Fields
- bool notifyParent;
- #endregion // Fields
-
- public static readonly NotifyParentPropertyAttribute No = new NotifyParentPropertyAttribute (false);
- public static readonly NotifyParentPropertyAttribute Yes = new NotifyParentPropertyAttribute (true);
- public static readonly NotifyParentPropertyAttribute Default = new NotifyParentPropertyAttribute (false);
- #region Constructors
- public NotifyParentPropertyAttribute (bool notifyParent)
- {
- this.notifyParent = notifyParent;
- }
- #endregion // Constructors
- #region Properties
- public bool NotifyParent {
- get { return notifyParent; }
- }
- #endregion // Properties
- #region Methods
- [MonoTODO]
- public override bool Equals (object obj)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public override int GetHashCode ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public override bool IsDefaultAttribute ()
- {
- throw new NotImplementedException ();
- }
- #endregion // Methods
- }
- }
|