oh dear
This commit is contained in:
@@ -0,0 +1,373 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Provides an abstraction of a property on a class.</summary>
|
||||
// Token: 0x02000179 RID: 377
|
||||
[Token(Token = "0x2000179")]
|
||||
[ComVisible(true)]
|
||||
public abstract class PropertyDescriptor : MemberDescriptor
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PropertyDescriptor" /> class with the specified name and attributes.</summary>
|
||||
/// <param name="name">The name of the property.</param>
|
||||
/// <param name="attrs">An array of type <see cref="T:System.Attribute" /> that contains the property attributes.</param>
|
||||
// Token: 0x06000975 RID: 2421 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000975")]
|
||||
[Address(RVA = "0x4EC9D0", Offset = "0x4EB7D0", VA = "0x1804EC9D0")]
|
||||
protected PropertyDescriptor(string name, Attribute[] attrs)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PropertyDescriptor" /> class with the name and attributes in the specified <see cref="T:System.ComponentModel.MemberDescriptor" />.</summary>
|
||||
/// <param name="descr">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that contains the name of the property and its attributes.</param>
|
||||
// Token: 0x06000976 RID: 2422 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000976")]
|
||||
[Address(RVA = "0x4EC9E0", Offset = "0x4EB7E0", VA = "0x1804EC9E0")]
|
||||
protected PropertyDescriptor(MemberDescriptor descr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.PropertyDescriptor" /> class with the name in the specified <see cref="T:System.ComponentModel.MemberDescriptor" /> and the attributes in both the <see cref="T:System.ComponentModel.MemberDescriptor" /> and the <see cref="T:System.Attribute" /> array.</summary>
|
||||
/// <param name="descr">A <see cref="T:System.ComponentModel.MemberDescriptor" /> containing the name of the member and its attributes.</param>
|
||||
/// <param name="attrs">An <see cref="T:System.Attribute" /> array containing the attributes you want to associate with the property.</param>
|
||||
// Token: 0x06000977 RID: 2423 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000977")]
|
||||
[Address(RVA = "0x4EC9F0", Offset = "0x4EB7F0", VA = "0x1804EC9F0")]
|
||||
protected PropertyDescriptor(MemberDescriptor descr, Attribute[] attrs)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the type of the component this property is bound to.</summary>
|
||||
/// <returns>A <see cref="T:System.Type" /> that represents the type of component this property is bound to. When the <see cref="M:System.ComponentModel.PropertyDescriptor.GetValue(System.Object)" /> or <see cref="M:System.ComponentModel.PropertyDescriptor.SetValue(System.Object,System.Object)" /> methods are invoked, the object specified might be an instance of this type.</returns>
|
||||
// Token: 0x170001D6 RID: 470
|
||||
// (get) Token: 0x06000978 RID: 2424
|
||||
[Token(Token = "0x170001D6")]
|
||||
public abstract Type ComponentType
|
||||
{
|
||||
[Token(Token = "0x6000978")]
|
||||
[Address(Slot = "17")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets the type converter for this property.</summary>
|
||||
/// <returns>A <see cref="T:System.ComponentModel.TypeConverter" /> that is used to convert the <see cref="T:System.Type" /> of this property.</returns>
|
||||
// Token: 0x170001D7 RID: 471
|
||||
// (get) Token: 0x06000979 RID: 2425 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170001D7")]
|
||||
public virtual TypeConverter Converter
|
||||
{
|
||||
[Token(Token = "0x6000979")]
|
||||
[Address(RVA = "0x4FECE0", Offset = "0x4FDAE0", VA = "0x1804FECE0", Slot = "18")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether this property should be localized, as specified in the <see cref="T:System.ComponentModel.LocalizableAttribute" />.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the member is marked with the <see cref="T:System.ComponentModel.LocalizableAttribute" /> set to <see langword="true" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170001D8 RID: 472
|
||||
// (get) Token: 0x0600097A RID: 2426 RVA: 0x00005CE8 File Offset: 0x00003EE8
|
||||
[Token(Token = "0x170001D8")]
|
||||
public virtual bool IsLocalizable
|
||||
{
|
||||
[Token(Token = "0x600097A")]
|
||||
[Address(RVA = "0x4FEEE0", Offset = "0x4FDCE0", VA = "0x1804FEEE0", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether this property is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the property is read-only; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170001D9 RID: 473
|
||||
// (get) Token: 0x0600097B RID: 2427
|
||||
[Token(Token = "0x170001D9")]
|
||||
public abstract bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x600097B")]
|
||||
[Address(Slot = "20")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether this property should be serialized, as specified in the <see cref="T:System.ComponentModel.DesignerSerializationVisibilityAttribute" />.</summary>
|
||||
/// <returns>One of the <see cref="T:System.ComponentModel.DesignerSerializationVisibility" /> enumeration values that specifies whether this property should be serialized.</returns>
|
||||
// Token: 0x170001DA RID: 474
|
||||
// (get) Token: 0x0600097C RID: 2428 RVA: 0x00005D00 File Offset: 0x00003F00
|
||||
[Token(Token = "0x170001DA")]
|
||||
public DesignerSerializationVisibility SerializationVisibility
|
||||
{
|
||||
[Token(Token = "0x600097C")]
|
||||
[Address(RVA = "0x4FEFE0", Offset = "0x4FDDE0", VA = "0x1804FEFE0")]
|
||||
get
|
||||
{
|
||||
return DesignerSerializationVisibility.Hidden;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the type of the property.</summary>
|
||||
/// <returns>A <see cref="T:System.Type" /> that represents the type of the property.</returns>
|
||||
// Token: 0x170001DB RID: 475
|
||||
// (get) Token: 0x0600097D RID: 2429
|
||||
[Token(Token = "0x170001DB")]
|
||||
public abstract Type PropertyType
|
||||
{
|
||||
[Token(Token = "0x600097D")]
|
||||
[Address(Slot = "21")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Enables other objects to be notified when this property changes.</summary>
|
||||
/// <param name="component">The component to add the handler for.</param>
|
||||
/// <param name="handler">The delegate to add as a listener.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="component" /> or <paramref name="handler" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600097E RID: 2430 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600097E")]
|
||||
[Address(RVA = "0x4FDA80", Offset = "0x4FC880", VA = "0x1804FDA80", Slot = "22")]
|
||||
public virtual void AddValueChanged(object component, EventHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, returns whether resetting an object changes its value.</summary>
|
||||
/// <param name="component">The component to test for reset capability.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if resetting the component changes its value; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x0600097F RID: 2431
|
||||
[Token(Token = "0x600097F")]
|
||||
[Address(Slot = "23")]
|
||||
public abstract bool CanResetValue(object component);
|
||||
|
||||
/// <summary>Compares this to another object to see if they are equivalent.</summary>
|
||||
/// <param name="obj">The object to compare to this <see cref="T:System.ComponentModel.PropertyDescriptor" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the values are equivalent; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000980 RID: 2432 RVA: 0x00005D18 File Offset: 0x00003F18
|
||||
[Token(Token = "0x6000980")]
|
||||
[Address(RVA = "0x4FDDF0", Offset = "0x4FCBF0", VA = "0x1804FDDF0", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the specified type.</summary>
|
||||
/// <param name="type">A <see cref="T:System.Type" /> that represents the type to create.</param>
|
||||
/// <returns>A new instance of the type.</returns>
|
||||
// Token: 0x06000981 RID: 2433 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000981")]
|
||||
[Address(RVA = "0x4FDBE0", Offset = "0x4FC9E0", VA = "0x1804FDBE0")]
|
||||
protected object CreateInstance(Type type)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Adds the attributes of the <see cref="T:System.ComponentModel.PropertyDescriptor" /> to the specified list of attributes in the parent class.</summary>
|
||||
/// <param name="attributeList">An <see cref="T:System.Collections.IList" /> that lists the attributes in the parent class. Initially, this is empty.</param>
|
||||
// Token: 0x06000982 RID: 2434 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000982")]
|
||||
[Address(RVA = "0x4FDF90", Offset = "0x4FCD90", VA = "0x1804FDF90", Slot = "15")]
|
||||
protected override void FillAttributes(IList attributeList)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the default <see cref="T:System.ComponentModel.PropertyDescriptorCollection" />.</summary>
|
||||
/// <returns>A collection of property descriptor.</returns>
|
||||
// Token: 0x06000983 RID: 2435 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000983")]
|
||||
[Address(RVA = "0x4FE0F0", Offset = "0x4FCEF0", VA = "0x1804FE0F0")]
|
||||
public PropertyDescriptorCollection GetChildProperties()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> using a specified array of attributes as a filter.</summary>
|
||||
/// <param name="filter">An array of type <see cref="T:System.Attribute" /> to use as a filter.</param>
|
||||
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that match the specified attributes.</returns>
|
||||
// Token: 0x06000984 RID: 2436 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000984")]
|
||||
[Address(RVA = "0x4FE0D0", Offset = "0x4FCED0", VA = "0x1804FE0D0")]
|
||||
public PropertyDescriptorCollection GetChildProperties(Attribute[] filter)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> for a given object.</summary>
|
||||
/// <param name="instance">A component to get the properties for.</param>
|
||||
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties for the specified component.</returns>
|
||||
// Token: 0x06000985 RID: 2437 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000985")]
|
||||
[Address(RVA = "0x4FE1E0", Offset = "0x4FCFE0", VA = "0x1804FE1E0")]
|
||||
public PropertyDescriptorCollection GetChildProperties(object instance)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> for a given object using a specified array of attributes as a filter.</summary>
|
||||
/// <param name="instance">A component to get the properties for.</param>
|
||||
/// <param name="filter">An array of type <see cref="T:System.Attribute" /> to use as a filter.</param>
|
||||
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that match the specified attributes for the specified component.</returns>
|
||||
// Token: 0x06000986 RID: 2438 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000986")]
|
||||
[Address(RVA = "0x4FE110", Offset = "0x4FCF10", VA = "0x1804FE110", Slot = "24")]
|
||||
public virtual PropertyDescriptorCollection GetChildProperties(object instance, Attribute[] filter)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets an editor of the specified type.</summary>
|
||||
/// <param name="editorBaseType">The base type of editor, which is used to differentiate between multiple editors that a property supports.</param>
|
||||
/// <returns>An instance of the requested editor type, or <see langword="null" /> if an editor cannot be found.</returns>
|
||||
// Token: 0x06000987 RID: 2439 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000987")]
|
||||
[Address(RVA = "0x4FE200", Offset = "0x4FD000", VA = "0x1804FE200", Slot = "25")]
|
||||
public virtual object GetEditor(Type editorBaseType)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the hash code for this object.</summary>
|
||||
/// <returns>The hash code for this object.</returns>
|
||||
// Token: 0x06000988 RID: 2440 RVA: 0x00005D30 File Offset: 0x00003F30
|
||||
[Token(Token = "0x6000988")]
|
||||
[Address(RVA = "0x4FE5D0", Offset = "0x4FD3D0", VA = "0x1804FE5D0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>This method returns the object that should be used during invocation of members.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of the invocation target.</param>
|
||||
/// <param name="instance">The potential invocation target.</param>
|
||||
/// <returns>The <see cref="T:System.Object" /> that should be used during invocation of members.</returns>
|
||||
// Token: 0x06000989 RID: 2441 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000989")]
|
||||
[Address(RVA = "0x4FE630", Offset = "0x4FD430", VA = "0x1804FE630", Slot = "16")]
|
||||
protected override object GetInvocationTarget(Type type, object instance)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a type using its name.</summary>
|
||||
/// <param name="typeName">The assembly-qualified name of the type to retrieve.</param>
|
||||
/// <returns>A <see cref="T:System.Type" /> that matches the given type name, or <see langword="null" /> if a match cannot be found.</returns>
|
||||
// Token: 0x0600098A RID: 2442 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600098A")]
|
||||
[Address(RVA = "0x4FE7F0", Offset = "0x4FD5F0", VA = "0x1804FE7F0")]
|
||||
protected Type GetTypeFromName(string typeName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the current value of the property on a component.</summary>
|
||||
/// <param name="component">The component with the property for which to retrieve the value.</param>
|
||||
/// <returns>The value of a property for a given component.</returns>
|
||||
// Token: 0x0600098B RID: 2443
|
||||
[Token(Token = "0x600098B")]
|
||||
[Address(Slot = "26")]
|
||||
public abstract object GetValue(object component);
|
||||
|
||||
/// <summary>Raises the <c>ValueChanged</c> event that you implemented.</summary>
|
||||
/// <param name="component">The object that raises the event.</param>
|
||||
/// <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data.</param>
|
||||
// Token: 0x0600098C RID: 2444 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600098C")]
|
||||
[Address(RVA = "0x4FEAC0", Offset = "0x4FD8C0", VA = "0x1804FEAC0", Slot = "27")]
|
||||
protected virtual void OnValueChanged(object component, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Enables other objects to be notified when this property changes.</summary>
|
||||
/// <param name="component">The component to remove the handler for.</param>
|
||||
/// <param name="handler">The delegate to remove as a listener.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="component" /> or <paramref name="handler" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600098D RID: 2445 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x600098D")]
|
||||
[Address(RVA = "0x4FEB60", Offset = "0x4FD960", VA = "0x1804FEB60", Slot = "28")]
|
||||
public virtual void RemoveValueChanged(object component, EventHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the current set of <c>ValueChanged</c> event handlers for a specific component</summary>
|
||||
/// <param name="component">The component for which to retrieve event handlers.</param>
|
||||
/// <returns>A combined multicast event handler, or <see langword="null" /> if no event handlers are currently assigned to <paramref name="component" />.</returns>
|
||||
// Token: 0x0600098E RID: 2446 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600098E")]
|
||||
[Address(RVA = "0x4FEA40", Offset = "0x4FD840", VA = "0x1804FEA40")]
|
||||
protected internal EventHandler GetValueChangedHandler(object component)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, resets the value for this property of the component to the default value.</summary>
|
||||
/// <param name="component">The component with the property value that is to be reset to the default value.</param>
|
||||
// Token: 0x0600098F RID: 2447
|
||||
[Token(Token = "0x600098F")]
|
||||
[Address(Slot = "29")]
|
||||
public abstract void ResetValue(object component);
|
||||
|
||||
/// <summary>When overridden in a derived class, sets the value of the component to a different value.</summary>
|
||||
/// <param name="component">The component with the property value that is to be set.</param>
|
||||
/// <param name="value">The new value.</param>
|
||||
// Token: 0x06000990 RID: 2448
|
||||
[Token(Token = "0x6000990")]
|
||||
[Address(Slot = "30")]
|
||||
public abstract void SetValue(object component, object value);
|
||||
|
||||
/// <summary>When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.</summary>
|
||||
/// <param name="component">The component with the property to be examined for persistence.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the property should be persisted; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000991 RID: 2449
|
||||
[Token(Token = "0x6000991")]
|
||||
[Address(Slot = "31")]
|
||||
public abstract bool ShouldSerializeValue(object component);
|
||||
|
||||
/// <summary>Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if value change notifications may originate from outside the property descriptor; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170001DC RID: 476
|
||||
// (get) Token: 0x06000992 RID: 2450 RVA: 0x00005D48 File Offset: 0x00003F48
|
||||
[Token(Token = "0x170001DC")]
|
||||
public virtual bool SupportsChangeEvents
|
||||
{
|
||||
[Token(Token = "0x6000992")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "32")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000590 RID: 1424
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000590")]
|
||||
private TypeConverter converter;
|
||||
|
||||
// Token: 0x04000591 RID: 1425
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000591")]
|
||||
private Hashtable valueChangedHandlers;
|
||||
|
||||
// Token: 0x04000592 RID: 1426
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4000592")]
|
||||
private object[] editors;
|
||||
|
||||
// Token: 0x04000593 RID: 1427
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4000593")]
|
||||
private Type[] editorTypes;
|
||||
|
||||
// Token: 0x04000594 RID: 1428
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4000594")]
|
||||
private int editorCount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user