155 lines
7.5 KiB
C#
155 lines
7.5 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Specifies the value to pass to a property to cause the property to get its value from another source. This is known as ambience. This class cannot be inherited.</summary>
|
|
// Token: 0x020000DA RID: 218
|
|
[Token(Token = "0x20000DA")]
|
|
[AttributeUsage(AttributeTargets.All)]
|
|
public sealed class AmbientValueAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given the value and its type.</summary>
|
|
/// <param name="type">The <see cref="T:System.Type" /> of the <paramref name="value" /> parameter.</param>
|
|
/// <param name="value">The value for this attribute.</param>
|
|
// Token: 0x0600051B RID: 1307 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051B")]
|
|
[Address(RVA = "0xB8D3E0", Offset = "0xB8C3E0", VA = "0x180B8D3E0")]
|
|
public AmbientValueAttribute(Type type, string value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a Unicode character for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x0600051C RID: 1308 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051C")]
|
|
[Address(RVA = "0xB8D560", Offset = "0xB8C560", VA = "0x180B8D560")]
|
|
public AmbientValueAttribute(char value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given an 8-bit unsigned integer for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x0600051D RID: 1309 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051D")]
|
|
[Address(RVA = "0xB8D4A0", Offset = "0xB8C4A0", VA = "0x180B8D4A0")]
|
|
public AmbientValueAttribute(byte value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a 16-bit signed integer for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x0600051E RID: 1310 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051E")]
|
|
[Address(RVA = "0xB8D620", Offset = "0xB8C620", VA = "0x180B8D620")]
|
|
public AmbientValueAttribute(short value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a 32-bit signed integer for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x0600051F RID: 1311 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051F")]
|
|
[Address(RVA = "0xB8D680", Offset = "0xB8C680", VA = "0x180B8D680")]
|
|
public AmbientValueAttribute(int value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a 64-bit signed integer for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000520 RID: 1312 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000520")]
|
|
[Address(RVA = "0xB8D380", Offset = "0xB8C380", VA = "0x180B8D380")]
|
|
public AmbientValueAttribute(long value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a single-precision floating point number for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000521 RID: 1313 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000521")]
|
|
[Address(RVA = "0xB8D320", Offset = "0xB8C320", VA = "0x180B8D320")]
|
|
public AmbientValueAttribute(float value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a double-precision floating-point number for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000522 RID: 1314 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000522")]
|
|
[Address(RVA = "0xB8D5C0", Offset = "0xB8C5C0", VA = "0x180B8D5C0")]
|
|
public AmbientValueAttribute(double value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a Boolean value for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000523 RID: 1315 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000523")]
|
|
[Address(RVA = "0xB8D500", Offset = "0xB8C500", VA = "0x180B8D500")]
|
|
public AmbientValueAttribute(bool value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given a string for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000524 RID: 1316 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000524")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public AmbientValueAttribute(string value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AmbientValueAttribute" /> class, given an object for its value.</summary>
|
|
/// <param name="value">The value of this attribute.</param>
|
|
// Token: 0x06000525 RID: 1317 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000525")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public AmbientValueAttribute(object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the object that is the value of this <see cref="T:System.ComponentModel.AmbientValueAttribute" />.</summary>
|
|
/// <returns>The object that is the value of this <see cref="T:System.ComponentModel.AmbientValueAttribute" />.</returns>
|
|
// Token: 0x170000CB RID: 203
|
|
// (get) Token: 0x06000526 RID: 1318 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CB")]
|
|
public object Value
|
|
{
|
|
[Token(Token = "0x6000526")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Determines whether the specified <see cref="T:System.ComponentModel.AmbientValueAttribute" /> is equal to the current <see cref="T:System.ComponentModel.AmbientValueAttribute" />.</summary>
|
|
/// <param name="obj">The <see cref="T:System.ComponentModel.AmbientValueAttribute" /> to compare with the current <see cref="T:System.ComponentModel.AmbientValueAttribute" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the specified <see cref="T:System.ComponentModel.AmbientValueAttribute" /> is equal to the current <see cref="T:System.ComponentModel.AmbientValueAttribute" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000527 RID: 1319 RVA: 0x00004110 File Offset: 0x00002310
|
|
[Token(Token = "0x6000527")]
|
|
[Address(RVA = "0xB8D270", Offset = "0xB8C270", VA = "0x180B8D270", Slot = "0")]
|
|
public override bool Equals(object obj)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.AmbientValueAttribute" />.</returns>
|
|
// Token: 0x06000528 RID: 1320 RVA: 0x00004128 File Offset: 0x00002328
|
|
[Token(Token = "0x6000528")]
|
|
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04000423 RID: 1059
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000423")]
|
|
private readonly object value;
|
|
}
|
|
}
|