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

100 lines
4.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Identifies a type as an object suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object. This class cannot be inherited.</summary>
// Token: 0x02000105 RID: 261
[Token(Token = "0x2000105")]
[AttributeUsage(AttributeTargets.Class)]
public sealed class DataObjectAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataObjectAttribute" /> class.</summary>
// Token: 0x06000663 RID: 1635 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000663")]
[Address(RVA = "0xB9B010", Offset = "0xB9A010", VA = "0x180B9B010")]
public DataObjectAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DataObjectAttribute" /> class and indicates whether an object is suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object.</summary>
/// <param name="isDataObject">
/// <see langword="true" /> if the object is suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object; otherwise, <see langword="false" />.</param>
// Token: 0x06000664 RID: 1636 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000664")]
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
public DataObjectAttribute(bool isDataObject)
{
}
/// <summary>Gets a value indicating whether an object should be considered suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object at design time.</summary>
/// <returns>
/// <see langword="true" /> if the object should be considered suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x17000120 RID: 288
// (get) Token: 0x06000665 RID: 1637 RVA: 0x000047A0 File Offset: 0x000029A0
[Token(Token = "0x17000120")]
public bool IsDataObject
{
[Token(Token = "0x6000665")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// <summary>Determines whether this instance of <see cref="T:System.ComponentModel.DataObjectAttribute" /> fits the pattern of another object.</summary>
/// <param name="obj">An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectAttribute" />.</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: 0x06000666 RID: 1638 RVA: 0x000047B8 File Offset: 0x000029B8
[Token(Token = "0x6000666")]
[Address(RVA = "0xB9AE50", Offset = "0xB99E50", VA = "0x180B9AE50", 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: 0x06000667 RID: 1639 RVA: 0x000047D0 File Offset: 0x000029D0
[Token(Token = "0x6000667")]
[Address(RVA = "0xA697A0", Offset = "0xA687A0", VA = "0x180A697A0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Gets a value indicating whether the current value of the attribute is the default value for the attribute.</summary>
/// <returns>
/// <see langword="true" /> if the current value of the attribute is the default; otherwise, <see langword="false" />.</returns>
// Token: 0x06000668 RID: 1640 RVA: 0x000047E8 File Offset: 0x000029E8
[Token(Token = "0x6000668")]
[Address(RVA = "0xB9AED0", Offset = "0xB99ED0", VA = "0x180B9AED0", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// <summary>Indicates that the class is suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object at design time. This field is read-only.</summary>
// Token: 0x04000491 RID: 1169
[Token(Token = "0x4000491")]
public static readonly DataObjectAttribute DataObject;
/// <summary>Indicates that the class is not suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object at design time. This field is read-only.</summary>
// Token: 0x04000492 RID: 1170
[Token(Token = "0x4000492")]
public static readonly DataObjectAttribute NonDataObject;
/// <summary>Represents the default value of the <see cref="T:System.ComponentModel.DataObjectAttribute" /> class, which indicates that the class is suitable for binding to an <see cref="T:System.Web.UI.WebControls.ObjectDataSource" /> object at design time. This field is read-only.</summary>
// Token: 0x04000493 RID: 1171
[Token(Token = "0x4000493")]
public static readonly DataObjectAttribute Default;
// Token: 0x04000494 RID: 1172
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000494")]
private bool _isDataObject;
}
}