using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// 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.
// Token: 0x02000107 RID: 263
[Token(Token = "0x2000107")]
[AttributeUsage(AttributeTargets.Method)]
public sealed class DataObjectMethodAttribute : Attribute
{
/// Initializes a new instance of the class and identifies the type of data operation the method performs.
/// One of the values that describes the data operation the method performs.
// Token: 0x06000674 RID: 1652 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000674")]
[Address(RVA = "0xB9B390", Offset = "0xB9A390", VA = "0x180B9B390")]
public DataObjectMethodAttribute(DataObjectMethodType methodType)
{
}
/// Initializes a new instance of the 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.
/// One of the values that describes the data operation the method performs.
///
/// to indicate the method that the attribute is applied to is the default method of the data object for the specified ; otherwise, .
// 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)
{
}
/// Gets a value indicating whether the method that the is applied to is the default data method exposed by the data object for a specific method type.
///
/// if the method is the default method exposed by the object for a method type; otherwise, .
// 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);
}
}
/// Gets a value indicating the type of data operation the method performs.
/// One of the values that identifies the type of data operation performed by the method to which the is applied.
// 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;
}
}
/// Returns a value indicating whether this instance is equal to a specified object.
/// An object to compare with this instance of .
///
/// if this instance is the same as the instance specified by the parameter; otherwise, .
// 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);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// 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;
}
/// Gets a value indicating whether this instance shares a common pattern with a specified attribute.
/// An object to compare with this instance of .
///
/// if this instance is the same as the instance specified by the parameter; otherwise, .
// 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;
}
}