Files
Apr2020-Cpp2Il-Dump/System/ComponentModel/AmbientValueAttribute.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x020000DE RID: 222
[Token(Token = "0x20000DE")]
[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: 0x06000531 RID: 1329 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000531")]
[Address(RVA = "0x490600", Offset = "0x48F400", VA = "0x180490600")]
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: 0x06000532 RID: 1330 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000532")]
[Address(RVA = "0x490780", Offset = "0x48F580", VA = "0x180490780")]
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: 0x06000533 RID: 1331 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000533")]
[Address(RVA = "0x4906C0", Offset = "0x48F4C0", VA = "0x1804906C0")]
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: 0x06000534 RID: 1332 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000534")]
[Address(RVA = "0x490840", Offset = "0x48F640", VA = "0x180490840")]
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: 0x06000535 RID: 1333 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000535")]
[Address(RVA = "0x4908A0", Offset = "0x48F6A0", VA = "0x1804908A0")]
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: 0x06000536 RID: 1334 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000536")]
[Address(RVA = "0x4905A0", Offset = "0x48F3A0", VA = "0x1804905A0")]
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: 0x06000537 RID: 1335 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000537")]
[Address(RVA = "0x490540", Offset = "0x48F340", VA = "0x180490540")]
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: 0x06000538 RID: 1336 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000538")]
[Address(RVA = "0x4907E0", Offset = "0x48F5E0", VA = "0x1804907E0")]
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: 0x06000539 RID: 1337 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000539")]
[Address(RVA = "0x490720", Offset = "0x48F520", VA = "0x180490720")]
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: 0x0600053A RID: 1338 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600053A")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
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: 0x0600053B RID: 1339 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600053B")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
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: 0x170000CF RID: 207
// (get) Token: 0x0600053C RID: 1340 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000CF")]
public object Value
{
[Token(Token = "0x600053C")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
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: 0x0600053D RID: 1341 RVA: 0x00004128 File Offset: 0x00002328
[Token(Token = "0x600053D")]
[Address(RVA = "0x490490", Offset = "0x48F290", VA = "0x180490490", 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: 0x0600053E RID: 1342 RVA: 0x00004140 File Offset: 0x00002340
[Token(Token = "0x600053E")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000430 RID: 1072
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000430")]
private readonly object value;
}
}