110 lines
4.5 KiB
C#
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: 0x0200017C RID: 380
|
|
[Token(Token = "0x200017C")]
|
|
[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: 0x060009CD RID: 2509 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60009CD")]
|
|
[Address(RVA = "0x4C85F0", Offset = "0x4C73F0", VA = "0x1804C85F0")]
|
|
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: 0x060009CE RID: 2510 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60009CE")]
|
|
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
|
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: 0x170001EF RID: 495
|
|
// (get) Token: 0x060009CF RID: 2511 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001EF")]
|
|
public string PropertyName
|
|
{
|
|
[Token(Token = "0x60009CF")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
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: 0x170001F0 RID: 496
|
|
// (get) Token: 0x060009D0 RID: 2512 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001F0")]
|
|
public string ReceiverTypeName
|
|
{
|
|
[Token(Token = "0x60009D0")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
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: 0x170001F1 RID: 497
|
|
// (get) Token: 0x060009D1 RID: 2513 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001F1")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x60009D1")]
|
|
[Address(RVA = "0x4C8650", Offset = "0x4C7450", VA = "0x1804C8650", 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: 0x060009D2 RID: 2514 RVA: 0x00005EE0 File Offset: 0x000040E0
|
|
[Token(Token = "0x60009D2")]
|
|
[Address(RVA = "0x4C84E0", Offset = "0x4C72E0", VA = "0x1804C84E0", 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: 0x060009D3 RID: 2515 RVA: 0x00005EF8 File Offset: 0x000040F8
|
|
[Token(Token = "0x60009D3")]
|
|
[Address(RVA = "0x4C8590", Offset = "0x4C7390", VA = "0x1804C8590", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x040005A1 RID: 1441
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40005A1")]
|
|
private readonly string propertyName;
|
|
|
|
// Token: 0x040005A2 RID: 1442
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40005A2")]
|
|
private readonly string receiverTypeName;
|
|
}
|
|
}
|