mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
38 lines
712 B
C#
Executable File
38 lines
712 B
C#
Executable File
//
|
|
// System.ComponentModel.DesignOnlyAttribute.cs
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
//
|
|
|
|
namespace System.ComponentModel {
|
|
|
|
[AttributeUsage (AttributeTargets.Property)]
|
|
public sealed class DesignOnlyAttribute : Attribute {
|
|
bool design_only;
|
|
|
|
public static readonly DesignOnlyAttribute No;
|
|
public static readonly DesignOnlyAttribute Yes;
|
|
|
|
static DesignOnlyAttribute ()
|
|
{
|
|
No = new DesignOnlyAttribute (false);
|
|
Yes = new DesignOnlyAttribute (false);
|
|
}
|
|
|
|
public DesignOnlyAttribute (bool design_only)
|
|
{
|
|
this.design_only = design_only;
|
|
}
|
|
|
|
public bool IsDesignOnly {
|
|
get {
|
|
return design_only;
|
|
}
|
|
}
|
|
}
|
|
}
|