mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* DesignerSerializationVisibilityAttribute.cs: Implemented. * DesignerSerializationVisibility.cs: New enumeration. * LocalizableAttribute.cs: Implemented. * BrowsableAttribute.cs: Implemented. * DesignOnlyAttribute.cs: Implemented. * DescriptionAttribute.cs: Implement. * MemberDescriptor.cs: Implemented. * CategoryAttribute.cs: implemented. svn path=/trunk/mcs/; revision=1215
39 lines
719 B
C#
Executable File
39 lines
719 B
C#
Executable File
//
|
|
// System.ComponentModel.BrowsableAttribute.cs
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
//
|
|
|
|
namespace System.ComponentModel {
|
|
|
|
[AttributeUsage (AttributeTargets.Property | AttributeTargets.Event)]
|
|
public sealed class BrowsableAttribute : Attribute {
|
|
bool browsable;
|
|
|
|
public static readonly BrowsableAttribute No;
|
|
public static readonly BrowsableAttribute Yes;
|
|
|
|
static BrowsableAttribute ()
|
|
{
|
|
No = new BrowsableAttribute (false);
|
|
Yes = new BrowsableAttribute (false);
|
|
}
|
|
|
|
public BrowsableAttribute (bool browsable)
|
|
{
|
|
this.browsable = browsable;
|
|
}
|
|
|
|
public bool Browsable {
|
|
get {
|
|
return browsable;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|