383 lines
15 KiB
C#
383 lines
15 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents a customized view of a <see cref="T:System.Data.DataRow" />.</summary>
|
|
// Token: 0x02000035 RID: 53
|
|
[Token(Token = "0x2000035")]
|
|
[DefaultMember("Item")]
|
|
public class DataRowView : ICustomTypeDescriptor, IEditableObject, IDataErrorInfo, INotifyPropertyChanged
|
|
{
|
|
// Token: 0x06000335 RID: 821 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000335")]
|
|
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
|
|
internal DataRowView(DataView dataView, DataRow row)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the current <see cref="T:System.Data.DataRowView" /> is identical to the specified object.</summary>
|
|
/// <param name="other">An <see cref="T:System.Object" /> to be compared.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="object" /> is a <see cref="T:System.Data.DataRowView" /> and it returns the same row as the current <see cref="T:System.Data.DataRowView" />; otherwise <see langword="false" />.</returns>
|
|
// Token: 0x06000336 RID: 822 RVA: 0x00002BAC File Offset: 0x00000DAC
|
|
[Token(Token = "0x6000336")]
|
|
[Address(RVA = "0x52DD60", Offset = "0x52CD60", VA = "0x18052DD60", Slot = "0")]
|
|
public override bool Equals(object other)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code of the <see cref="T:System.Data.DataRow" /> object.</summary>
|
|
/// <returns>A 32-bit signed integer hash code 1, which represents Boolean <see langword="true" /> if the value of this instance is nonzero; otherwise the integer zero, which represents Boolean <see langword="false" />.</returns>
|
|
// Token: 0x06000337 RID: 823 RVA: 0x00002BC4 File Offset: 0x00000DC4
|
|
[Token(Token = "0x6000337")]
|
|
[Address(RVA = "0x52DDC0", Offset = "0x52CDC0", VA = "0x18052DDC0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Data.DataView" /> to which this row belongs.</summary>
|
|
/// <returns>The <see langword="DataView" /> to which this row belongs.</returns>
|
|
// Token: 0x17000082 RID: 130
|
|
// (get) Token: 0x06000338 RID: 824 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000082")]
|
|
public DataView DataView
|
|
{
|
|
[Token(Token = "0x6000338")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the error message for the property with the given name.</summary>
|
|
/// <param name="colName">The name of the property whose error message to get.</param>
|
|
/// <returns>The error message for the property. The default is an empty string ("").</returns>
|
|
// Token: 0x17000083 RID: 131
|
|
[Token(Token = "0x17000083")]
|
|
string IDataErrorInfo.this[string colName]
|
|
{
|
|
[Token(Token = "0x6000339")]
|
|
[Address(RVA = "0x52E230", Offset = "0x52D230", VA = "0x18052E230", Slot = "19")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a message that describes any validation errors for the object.</summary>
|
|
/// <returns>The validation error on the object.</returns>
|
|
// Token: 0x17000084 RID: 132
|
|
// (get) Token: 0x0600033A RID: 826 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000084")]
|
|
string IDataErrorInfo.Error
|
|
{
|
|
[Token(Token = "0x600033A")]
|
|
[Address(RVA = "0x52E210", Offset = "0x52D210", VA = "0x18052E210", Slot = "20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000085 RID: 133
|
|
// (get) Token: 0x0600033B RID: 827 RVA: 0x00002BDC File Offset: 0x00000DDC
|
|
[Token(Token = "0x17000085")]
|
|
private DataRowVersion RowVersionDefault
|
|
{
|
|
[Token(Token = "0x600033B")]
|
|
[Address(RVA = "0x52E380", Offset = "0x52D380", VA = "0x18052E380")]
|
|
get
|
|
{
|
|
return (DataRowVersion)0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600033C RID: 828 RVA: 0x00002BF4 File Offset: 0x00000DF4
|
|
[Token(Token = "0x600033C")]
|
|
[Address(RVA = "0x52DDF0", Offset = "0x52CDF0", VA = "0x18052DDF0")]
|
|
internal int GetRecord()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0600033D RID: 829 RVA: 0x00002C0C File Offset: 0x00000E0C
|
|
[Token(Token = "0x600033D")]
|
|
[Address(RVA = "0x52DE30", Offset = "0x52CE30", VA = "0x18052DE30")]
|
|
internal bool HasRecord()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600033E RID: 830 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600033E")]
|
|
[Address(RVA = "0x52DD70", Offset = "0x52CD70", VA = "0x18052DD70")]
|
|
internal object GetColumnValue(DataColumn column)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600033F RID: 831 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600033F")]
|
|
[Address(RVA = "0x52DF00", Offset = "0x52CF00", VA = "0x18052DF00")]
|
|
internal void SetColumnValue(DataColumn column, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns a <see cref="T:System.Data.DataView" /> for the child <see cref="T:System.Data.DataTable" /> with the specified <see cref="T:System.Data.DataRelation" /> and parent.</summary>
|
|
/// <param name="relation">The <see cref="T:System.Data.DataRelation" /> object.</param>
|
|
/// <param name="followParent">The parent object.</param>
|
|
/// <returns>A <see cref="T:System.Data.DataView" /> for the child <see cref="T:System.Data.DataTable" />.</returns>
|
|
// Token: 0x06000340 RID: 832 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000340")]
|
|
[Address(RVA = "0x52DB20", Offset = "0x52CB20", VA = "0x18052DB20")]
|
|
public DataView CreateChildView(DataRelation relation, bool followParent)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns a <see cref="T:System.Data.DataView" /> for the child <see cref="T:System.Data.DataTable" /> with the specified child <see cref="T:System.Data.DataRelation" />.</summary>
|
|
/// <param name="relation">The <see cref="T:System.Data.DataRelation" /> object.</param>
|
|
/// <returns>a <see cref="T:System.Data.DataView" /> for the child <see cref="T:System.Data.DataTable" />.</returns>
|
|
// Token: 0x06000341 RID: 833 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000341")]
|
|
[Address(RVA = "0x52DCF0", Offset = "0x52CCF0", VA = "0x18052DCF0")]
|
|
public DataView CreateChildView(DataRelation relation)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Data.DataRow" /> being viewed.</summary>
|
|
/// <returns>The <see cref="T:System.Data.DataRow" /> being viewed by the <see cref="T:System.Data.DataRowView" />.</returns>
|
|
// Token: 0x17000086 RID: 134
|
|
// (get) Token: 0x06000342 RID: 834 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000086")]
|
|
public DataRow Row
|
|
{
|
|
[Token(Token = "0x6000342")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Begins an edit procedure.</summary>
|
|
// Token: 0x06000343 RID: 835 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000343")]
|
|
[Address(RVA = "0x52DAB0", Offset = "0x52CAB0", VA = "0x18052DAB0", Slot = "16")]
|
|
public void BeginEdit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Cancels an edit procedure.</summary>
|
|
// Token: 0x06000344 RID: 836 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000344")]
|
|
[Address(RVA = "0x52DAC0", Offset = "0x52CAC0", VA = "0x18052DAC0", Slot = "18")]
|
|
public void CancelEdit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Commits changes to the underlying <see cref="T:System.Data.DataRow" /> and ends the editing session that was begun with <see cref="M:System.Data.DataRowView.BeginEdit" />. Use <see cref="M:System.Data.DataRowView.CancelEdit" /> to discard the changes made to the <see cref="T:System.Data.DataRow" />.</summary>
|
|
// Token: 0x06000345 RID: 837 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000345")]
|
|
[Address(RVA = "0x52DD00", Offset = "0x52CD00", VA = "0x18052DD00", Slot = "17")]
|
|
public void EndEdit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Indicates whether a <see cref="T:System.Data.DataRowView" /> is new.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the row is new; otherwise <see langword="false" />.</returns>
|
|
// Token: 0x17000087 RID: 135
|
|
// (get) Token: 0x06000346 RID: 838 RVA: 0x00002C24 File Offset: 0x00000E24
|
|
[Token(Token = "0x17000087")]
|
|
public bool IsNew
|
|
{
|
|
[Token(Token = "0x6000346")]
|
|
[Address(RVA = "0x52E350", Offset = "0x52D350", VA = "0x18052E350")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Event that is raised when a <see cref="T:System.Data.DataRowView" /> property is changed.</summary>
|
|
// Token: 0x14000005 RID: 5
|
|
// (add) Token: 0x06000347 RID: 839 RVA: 0x0000206A File Offset: 0x0000026A
|
|
// (remove) Token: 0x06000348 RID: 840 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x14000005")]
|
|
public event PropertyChangedEventHandler PropertyChanged
|
|
{
|
|
[Token(Token = "0x6000347")]
|
|
[Address(RVA = "0x52E2B0", Offset = "0x52D2B0", VA = "0x18052E2B0", Slot = "21")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
}
|
|
[Token(Token = "0x6000348")]
|
|
[Address(RVA = "0x52E3B0", Offset = "0x52D3B0", VA = "0x18052E3B0", Slot = "22")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000349 RID: 841 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000349")]
|
|
[Address(RVA = "0x52DE70", Offset = "0x52CE70", VA = "0x18052DE70")]
|
|
internal void RaisePropertyChangedEvent(string propName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns a collection of custom attributes for this instance of a component.</summary>
|
|
/// <returns>An AttributeCollection containing the attributes for this object.</returns>
|
|
// Token: 0x0600034A RID: 842 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034A")]
|
|
[Address(RVA = "0x52DFD0", Offset = "0x52CFD0", VA = "0x18052DFD0", Slot = "4")]
|
|
AttributeCollection ICustomTypeDescriptor.GetAttributes()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the class name of this instance of a component.</summary>
|
|
/// <returns>The class name of this instance of a component.</returns>
|
|
// Token: 0x0600034B RID: 843 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034B")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
|
|
string ICustomTypeDescriptor.GetClassName()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the name of this instance of a component.</summary>
|
|
/// <returns>The name of this instance of a component.</returns>
|
|
// Token: 0x0600034C RID: 844 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034C")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")]
|
|
string ICustomTypeDescriptor.GetComponentName()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns a type converter for this instance of a component.</summary>
|
|
/// <returns>The type converter for this instance of a component.</returns>
|
|
// Token: 0x0600034D RID: 845 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034D")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "7")]
|
|
TypeConverter ICustomTypeDescriptor.GetConverter()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the default event for this instance of a component.</summary>
|
|
/// <returns>The default event for this instance of a component.</returns>
|
|
// Token: 0x0600034E RID: 846 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034E")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "8")]
|
|
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the default property for this instance of a component.</summary>
|
|
/// <returns>The default property for this instance of a component.</returns>
|
|
// Token: 0x0600034F RID: 847 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600034F")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "9")]
|
|
PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an editor of the specified type for this instance of a component.</summary>
|
|
/// <param name="editorBaseType">A <see cref="T:System.Type" /> that represents the editor for this object.</param>
|
|
/// <returns>An <see cref="T:System.Object" /> of the specified type that is the editor for this object, or <see langword="null" /> if the editor cannot be found.</returns>
|
|
// Token: 0x06000350 RID: 848 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000350")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "10")]
|
|
object ICustomTypeDescriptor.GetEditor(Type editorBaseType)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the events for this instance of a component.</summary>
|
|
/// <returns>The events for this instance of a component.</returns>
|
|
// Token: 0x06000351 RID: 849 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000351")]
|
|
[Address(RVA = "0x52E020", Offset = "0x52D020", VA = "0x18052E020", Slot = "11")]
|
|
EventDescriptorCollection ICustomTypeDescriptor.GetEvents()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the events for this instance of a component with specified attributes.</summary>
|
|
/// <param name="attributes">The attributes</param>
|
|
/// <returns>The events for this instance of a component.</returns>
|
|
// Token: 0x06000352 RID: 850 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000352")]
|
|
[Address(RVA = "0x52E070", Offset = "0x52D070", VA = "0x18052E070", Slot = "12")]
|
|
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the properties for this instance of a component.</summary>
|
|
/// <returns>The properties for this instance of a component.</returns>
|
|
// Token: 0x06000353 RID: 851 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000353")]
|
|
[Address(RVA = "0x52E0C0", Offset = "0x52D0C0", VA = "0x18052E0C0", Slot = "13")]
|
|
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the properties for this instance of a component with specified attributes.</summary>
|
|
/// <param name="attributes">The attributes.</param>
|
|
/// <returns>The properties for this instance of a component.</returns>
|
|
// Token: 0x06000354 RID: 852 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000354")]
|
|
[Address(RVA = "0x52E170", Offset = "0x52D170", VA = "0x18052E170", Slot = "14")]
|
|
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an object that contains the property described by the specified property descriptor.</summary>
|
|
/// <param name="pd">A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents the property whose owner is to be found.</param>
|
|
/// <returns>An <see cref="T:System.Object" /> that represents the owner of the specified property.</returns>
|
|
// Token: 0x06000355 RID: 853 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000355")]
|
|
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "15")]
|
|
object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040000AE RID: 174
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40000AE")]
|
|
private readonly DataView _dataView;
|
|
|
|
// Token: 0x040000AF RID: 175
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40000AF")]
|
|
private readonly DataRow _row;
|
|
|
|
// Token: 0x040000B0 RID: 176
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40000B0")]
|
|
private bool _delayBeginEdit;
|
|
|
|
// Token: 0x040000B1 RID: 177
|
|
[Token(Token = "0x40000B1")]
|
|
private static readonly PropertyDescriptorCollection s_zeroPropertyDescriptorCollection;
|
|
}
|
|
}
|