Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/DataObjectMethodAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

108 lines
5.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Identifies a data operation method exposed by a type, what type of operation the method performs, and whether the method is the default data method. This class cannot be inherited.</summary>
// Token: 0x02000107 RID: 263
[Token(Token = "0x2000107")]
[AttributeUsage(AttributeTargets.Method)]
public sealed class DataObjectMethodAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> class and identifies the type of data operation the method performs.</summary>
/// <param name="methodType">One of the <see cref="T:System.ComponentModel.DataObjectMethodType" /> values that describes the data operation the method performs.</param>
// Token: 0x06000674 RID: 1652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000674")]
[Address(RVA = "0xB9B390", Offset = "0xB9A390", VA = "0x180B9B390")]
public DataObjectMethodAttribute(DataObjectMethodType methodType)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> class, identifies the type of data operation the method performs, and identifies whether the method is the default data method that the data object exposes.</summary>
/// <param name="methodType">One of the <see cref="T:System.ComponentModel.DataObjectMethodType" /> values that describes the data operation the method performs.</param>
/// <param name="isDefault">
/// <see langword="true" /> to indicate the method that the attribute is applied to is the default method of the data object for the specified <paramref name="methodType" />; otherwise, <see langword="false" />.</param>
// Token: 0x06000675 RID: 1653 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000675")]
[Address(RVA = "0xB9B350", Offset = "0xB9A350", VA = "0x180B9B350")]
public DataObjectMethodAttribute(DataObjectMethodType methodType, bool isDefault)
{
}
/// <summary>Gets a value indicating whether the method that the <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> is applied to is the default data method exposed by the data object for a specific method type.</summary>
/// <returns>
/// <see langword="true" /> if the method is the default method exposed by the object for a method type; otherwise, <see langword="false" />.</returns>
// Token: 0x17000125 RID: 293
// (get) Token: 0x06000676 RID: 1654 RVA: 0x00004890 File Offset: 0x00002A90
[Token(Token = "0x17000125")]
public bool IsDefault
{
[Token(Token = "0x6000676")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// <summary>Gets a <see cref="T:System.ComponentModel.DataObjectMethodType" /> value indicating the type of data operation the method performs.</summary>
/// <returns>One of the <see cref="T:System.ComponentModel.DataObjectMethodType" /> values that identifies the type of data operation performed by the method to which the <see cref="T:System.ComponentModel.DataObjectMethodAttribute" /> is applied.</returns>
// Token: 0x17000126 RID: 294
// (get) Token: 0x06000677 RID: 1655 RVA: 0x000048A8 File Offset: 0x00002AA8
[Token(Token = "0x17000126")]
public DataObjectMethodType MethodType
{
[Token(Token = "0x6000677")]
[Address(RVA = "0x4936D0", Offset = "0x4926D0", VA = "0x1804936D0")]
get
{
return DataObjectMethodType.Fill;
}
}
/// <summary>Returns a value indicating whether this instance is equal to a specified object.</summary>
/// <param name="obj">An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectMethodAttribute" />.</param>
/// <returns>
/// <see langword="true" /> if this instance is the same as the instance specified by the <paramref name="obj" /> parameter; otherwise, <see langword="false" />.</returns>
// Token: 0x06000678 RID: 1656 RVA: 0x000048C0 File Offset: 0x00002AC0
[Token(Token = "0x6000678")]
[Address(RVA = "0xB9B200", Offset = "0xB9A200", VA = "0x180B9B200", 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: 0x06000679 RID: 1657 RVA: 0x000048D8 File Offset: 0x00002AD8
[Token(Token = "0x6000679")]
[Address(RVA = "0xB9B290", Offset = "0xB9A290", VA = "0x180B9B290", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Gets a value indicating whether this instance shares a common pattern with a specified attribute.</summary>
/// <param name="obj">An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectMethodAttribute" />.</param>
/// <returns>
/// <see langword="true" /> if this instance is the same as the instance specified by the <paramref name="obj" /> parameter; otherwise, <see langword="false" />.</returns>
// Token: 0x0600067A RID: 1658 RVA: 0x000048F0 File Offset: 0x00002AF0
[Token(Token = "0x600067A")]
[Address(RVA = "0xB9B2D0", Offset = "0xB9A2D0", VA = "0x180B9B2D0", Slot = "5")]
public override bool Match(object obj)
{
return default(bool);
}
// Token: 0x04000499 RID: 1177
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000499")]
private bool _isDefault;
// Token: 0x0400049A RID: 1178
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x400049A")]
private DataObjectMethodType _methodType;
}
}