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: 0x0200010B RID: 267
[Token(Token = "0x200010B")]
[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: 0x0600068A RID: 1674 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600068A")]
[Address(RVA = "0x49E6F0", Offset = "0x49D4F0", VA = "0x18049E6F0")]
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: 0x0600068B RID: 1675 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600068B")]
[Address(RVA = "0x49E6B0", Offset = "0x49D4B0", VA = "0x18049E6B0")]
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: 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);
}
}
/// 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: 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;
}
}
/// 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: 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);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// 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;
}
/// 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: 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;
}
}