100 lines
4.4 KiB
C#
100 lines
4.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>
|
|
/// <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> marks a component's visibility. If <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Yes" /> is present, a visual designer can show this component on a designer.</summary>
|
|
// Token: 0x02000113 RID: 275
|
|
[Token(Token = "0x2000113")]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
|
|
public sealed class DesignTimeVisibleAttribute : Attribute
|
|
{
|
|
/// <summary>Creates a new <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> with the <see cref="P:System.ComponentModel.DesignTimeVisibleAttribute.Visible" /> property set to the given value in <paramref name="visible" />.</summary>
|
|
/// <param name="visible">The value that the <see cref="P:System.ComponentModel.DesignTimeVisibleAttribute.Visible" /> property will be set against.</param>
|
|
// Token: 0x060006C7 RID: 1735 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006C7")]
|
|
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
|
public DesignTimeVisibleAttribute(bool visible)
|
|
{
|
|
}
|
|
|
|
/// <summary>Creates a new <see cref="T:System.ComponentModel.DesignTimeVisibleAttribute" /> set to the default value of <see langword="false" />.</summary>
|
|
// Token: 0x060006C8 RID: 1736 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006C8")]
|
|
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
|
public DesignTimeVisibleAttribute()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets whether the component should be shown at design time.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if this component should be shown at design time, or <see langword="false" /> if it shouldn't.</returns>
|
|
// Token: 0x17000131 RID: 305
|
|
// (get) Token: 0x060006C9 RID: 1737 RVA: 0x00004B18 File Offset: 0x00002D18
|
|
[Token(Token = "0x17000131")]
|
|
public bool Visible
|
|
{
|
|
[Token(Token = "0x60006C9")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
|
|
/// <param name="obj">An Object to compare with this instance or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006CA RID: 1738 RVA: 0x00004B30 File Offset: 0x00002D30
|
|
[Token(Token = "0x60006CA")]
|
|
[Address(RVA = "0xC52710", Offset = "0xC51710", VA = "0x180C52710", Slot = "0")]
|
|
public override bool Equals(object obj)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A 32-bit signed integer hash code.</returns>
|
|
// Token: 0x060006CB RID: 1739 RVA: 0x00004B48 File Offset: 0x00002D48
|
|
[Token(Token = "0x60006CB")]
|
|
[Address(RVA = "0xC52790", Offset = "0xC51790", VA = "0x180C52790", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" />, if this instance is equal to the <see cref="F:System.ComponentModel.DesignTimeVisibleAttribute.Default" /> value; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x060006CC RID: 1740 RVA: 0x00004B60 File Offset: 0x00002D60
|
|
[Token(Token = "0x60006CC")]
|
|
[Address(RVA = "0xC52820", Offset = "0xC51820", VA = "0x180C52820", Slot = "6")]
|
|
public override bool IsDefaultAttribute()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x040004AF RID: 1199
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40004AF")]
|
|
private bool visible;
|
|
|
|
/// <summary>Marks a component as visible in a visual designer.</summary>
|
|
// Token: 0x040004B0 RID: 1200
|
|
[Token(Token = "0x40004B0")]
|
|
public static readonly DesignTimeVisibleAttribute Yes;
|
|
|
|
/// <summary>Marks a component as not visible in a visual designer.</summary>
|
|
// Token: 0x040004B1 RID: 1201
|
|
[Token(Token = "0x40004B1")]
|
|
public static readonly DesignTimeVisibleAttribute No;
|
|
|
|
/// <summary>The default visibility which is <see langword="Yes" />.</summary>
|
|
// Token: 0x040004B2 RID: 1202
|
|
[Token(Token = "0x40004B2")]
|
|
public static readonly DesignTimeVisibleAttribute Default;
|
|
}
|
|
}
|