Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

110 lines
4.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies the name of the property that an implementer of <see cref="T:System.ComponentModel.IExtenderProvider" /> offers to other components. This class cannot be inherited</summary>
// Token: 0x02000178 RID: 376
[Token(Token = "0x2000178")]
[AttributeUsage(AttributeTargets.Class)]
public sealed class ProvidePropertyAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ProvidePropertyAttribute" /> class with the name of the property and its <see cref="T:System.Type" />.</summary>
/// <param name="propertyName">The name of the property extending to an object of the specified type.</param>
/// <param name="receiverType">The <see cref="T:System.Type" /> of the data type of the object that can receive the property.</param>
// Token: 0x060009B7 RID: 2487 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60009B7")]
[Address(RVA = "0xC183F0", Offset = "0xC173F0", VA = "0x180C183F0")]
public ProvidePropertyAttribute(string propertyName, Type receiverType)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ProvidePropertyAttribute" /> class with the name of the property and the type of its receiver.</summary>
/// <param name="propertyName">The name of the property extending to an object of the specified type.</param>
/// <param name="receiverTypeName">The name of the data type this property can extend.</param>
// Token: 0x060009B8 RID: 2488 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60009B8")]
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
public ProvidePropertyAttribute(string propertyName, string receiverTypeName)
{
}
/// <summary>Gets the name of a property that this class provides.</summary>
/// <returns>The name of a property that this class provides.</returns>
// Token: 0x170001EB RID: 491
// (get) Token: 0x060009B9 RID: 2489 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001EB")]
public string PropertyName
{
[Token(Token = "0x60009B9")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Gets the name of the data type this property can extend.</summary>
/// <returns>The name of the data type this property can extend.</returns>
// Token: 0x170001EC RID: 492
// (get) Token: 0x060009BA RID: 2490 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001EC")]
public string ReceiverTypeName
{
[Token(Token = "0x60009BA")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// <summary>Gets a unique identifier for this attribute.</summary>
/// <returns>An <see cref="T:System.Object" /> that is a unique identifier for the attribute.</returns>
// Token: 0x170001ED RID: 493
// (get) Token: 0x060009BB RID: 2491 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001ED")]
public override object TypeId
{
[Token(Token = "0x60009BB")]
[Address(RVA = "0xC18450", Offset = "0xC17450", VA = "0x180C18450", Slot = "4")]
get
{
return null;
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.ProvidePropertyAttribute" />.</summary>
/// <param name="obj">The object to test the value equality of.</param>
/// <returns>
/// <see langword="true" /> if the value of the given object is equal to that of the current; otherwise, <see langword="false" />.</returns>
// Token: 0x060009BC RID: 2492 RVA: 0x00005EC8 File Offset: 0x000040C8
[Token(Token = "0x60009BC")]
[Address(RVA = "0xC182E0", Offset = "0xC172E0", VA = "0x180C182E0", 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.ProvidePropertyAttribute" />.</returns>
// Token: 0x060009BD RID: 2493 RVA: 0x00005EE0 File Offset: 0x000040E0
[Token(Token = "0x60009BD")]
[Address(RVA = "0xC18390", Offset = "0xC17390", VA = "0x180C18390", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000594 RID: 1428
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000594")]
private readonly string propertyName;
// Token: 0x04000595 RID: 1429
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000595")]
private readonly string receiverTypeName;
}
}