Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/DataObjectMethodAttribute.cs
T
2026-04-10 22:50:51 +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: 0x0200010B RID: 267
[Token(Token = "0x200010B")]
[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: 0x0600068A RID: 1674 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600068A")]
[Address(RVA = "0x49E6F0", Offset = "0x49D4F0", VA = "0x18049E6F0")]
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: 0x0600068B RID: 1675 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600068B")]
[Address(RVA = "0x49E6B0", Offset = "0x49D4B0", VA = "0x18049E6B0")]
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: 0x17000129 RID: 297
// (get) Token: 0x0600068C RID: 1676 RVA: 0x000048A8 File Offset: 0x00002AA8
[Token(Token = "0x17000129")]
public bool IsDefault
{
[Token(Token = "0x600068C")]
[Address(RVA = "0x42D5E0", Offset = "0x42C3E0", VA = "0x18042D5E0")]
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: 0x1700012A RID: 298
// (get) Token: 0x0600068D RID: 1677 RVA: 0x000048C0 File Offset: 0x00002AC0
[Token(Token = "0x1700012A")]
public DataObjectMethodType MethodType
{
[Token(Token = "0x600068D")]
[Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080")]
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: 0x0600068E RID: 1678 RVA: 0x000048D8 File Offset: 0x00002AD8
[Token(Token = "0x600068E")]
[Address(RVA = "0x49E560", Offset = "0x49D360", VA = "0x18049E560", 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: 0x0600068F RID: 1679 RVA: 0x000048F0 File Offset: 0x00002AF0
[Token(Token = "0x600068F")]
[Address(RVA = "0x49E5F0", Offset = "0x49D3F0", VA = "0x18049E5F0", 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: 0x06000690 RID: 1680 RVA: 0x00004908 File Offset: 0x00002B08
[Token(Token = "0x6000690")]
[Address(RVA = "0x49E630", Offset = "0x49D430", VA = "0x18049E630", Slot = "5")]
public override bool Match(object obj)
{
return default(bool);
}
// Token: 0x040004A6 RID: 1190
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40004A6")]
private bool _isDefault;
// Token: 0x040004A7 RID: 1191
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x40004A7")]
private DataObjectMethodType _methodType;
}
}