using System;
namespace System.ComponentModel
{
///
/// Specifies that a property or method is viewable in an editor. This class cannot be inherited.
///
[MonoTODO("Missing description for State. Only minimal testing.")]
[AttributeUsage(
AttributeTargets.Class|
AttributeTargets.Constructor|
AttributeTargets.Delegate|
AttributeTargets.Enum|
AttributeTargets.Event|
AttributeTargets.Field|
AttributeTargets.Interface|
AttributeTargets.Method|
AttributeTargets.Property|
AttributeTargets.Struct)]
public sealed class EditorBrowsableAttribute : Attribute
{
private System.ComponentModel.EditorBrowsableState state;
///
/// FIXME: Summary description for State.
///
public System.ComponentModel.EditorBrowsableState State
{
get
{
return state;
}
}
///
/// Initializes a new instance of the System.ComponentModel.EditorBrowsableAttribute class with an System.ComponentModel.EditorBrowsableState.
///
/// The System.ComponentModel.EditorBrowsableState to set System.ComponentModel.EditorBrowsableAttribute.State to.
public EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState state)
{
this.state = state;
}
///
/// Initializes a new instance of the System.ComponentModel.EditorBrowsableAttribute class with an System.ComponentModel.EditorBrowsableState == System.ComponentModel.EditorBrowsableState.Always.
///
public EditorBrowsableAttribute()
{
this.state = System.ComponentModel.EditorBrowsableState.Always;
}
}
}