mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* list.unix:
* list:
* System.ComponentModel/DesignTimeVisibleAttribute.cs:
Add new class
svn path=/trunk/mcs/; revision=8928
69 lines
1.3 KiB
C#
69 lines
1.3 KiB
C#
//
|
|
// System.ComponentModel.DesignTimeVisibleAttribute.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
namespace System.ComponentModel {
|
|
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Interface)]
|
|
public sealed class DesignTimeVisibleAttribute : Attribute
|
|
{
|
|
#region Fields
|
|
|
|
bool visible;
|
|
|
|
public static readonly DesignTimeVisibleAttribute Default = new DesignTimeVisibleAttribute (true);
|
|
public static readonly DesignTimeVisibleAttribute No = new DesignTimeVisibleAttribute (false);
|
|
public static readonly DesignTimeVisibleAttribute Yes = new DesignTimeVisibleAttribute (true);
|
|
|
|
#endregion // Fields
|
|
|
|
#region Constructors
|
|
|
|
public DesignTimeVisibleAttribute ()
|
|
: this (true)
|
|
{
|
|
}
|
|
|
|
public DesignTimeVisibleAttribute (bool visible)
|
|
{
|
|
this.visible = visible;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public bool Visible {
|
|
get { return visible; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
[MonoTODO]
|
|
public override bool Equals (object value)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override int GetHashCode ()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public override bool IsDefaultAttribute ()
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|