using System; using System.Collections; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides an abstraction of a property on a class. // Token: 0x02000175 RID: 373 [Token(Token = "0x2000175")] [ComVisible(true)] public abstract class PropertyDescriptor : MemberDescriptor { /// Initializes a new instance of the class with the specified name and attributes. /// The name of the property. /// An array of type that contains the property attributes. // Token: 0x0600095F RID: 2399 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600095F")] [Address(RVA = "0xC56DE0", Offset = "0xC55DE0", VA = "0x180C56DE0")] protected PropertyDescriptor(string name, Attribute[] attrs) { } /// Initializes a new instance of the class with the name and attributes in the specified . /// A that contains the name of the property and its attributes. // Token: 0x06000960 RID: 2400 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000960")] [Address(RVA = "0xC56DF0", Offset = "0xC55DF0", VA = "0x180C56DF0")] protected PropertyDescriptor(MemberDescriptor descr) { } /// Initializes a new instance of the class with the name in the specified and the attributes in both the and the array. /// A containing the name of the member and its attributes. /// An array containing the attributes you want to associate with the property. // Token: 0x06000961 RID: 2401 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000961")] [Address(RVA = "0xC56E00", Offset = "0xC55E00", VA = "0x180C56E00")] protected PropertyDescriptor(MemberDescriptor descr, Attribute[] attrs) { } /// When overridden in a derived class, gets the type of the component this property is bound to. /// A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. // Token: 0x170001D2 RID: 466 // (get) Token: 0x06000962 RID: 2402 [Token(Token = "0x170001D2")] public abstract Type ComponentType { [Token(Token = "0x6000962")] [Address(Slot = "17")] get; } /// Gets the type converter for this property. /// A that is used to convert the of this property. // Token: 0x170001D3 RID: 467 // (get) Token: 0x06000963 RID: 2403 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170001D3")] public virtual TypeConverter Converter { [Token(Token = "0x6000963")] [Address(RVA = "0xC69030", Offset = "0xC68030", VA = "0x180C69030", Slot = "18")] get { return null; } } /// Gets a value indicating whether this property should be localized, as specified in the . /// /// if the member is marked with the set to ; otherwise, . // Token: 0x170001D4 RID: 468 // (get) Token: 0x06000964 RID: 2404 RVA: 0x00005CD0 File Offset: 0x00003ED0 [Token(Token = "0x170001D4")] public virtual bool IsLocalizable { [Token(Token = "0x6000964")] [Address(RVA = "0xC69230", Offset = "0xC68230", VA = "0x180C69230", Slot = "19")] get { return default(bool); } } /// When overridden in a derived class, gets a value indicating whether this property is read-only. /// /// if the property is read-only; otherwise, . // Token: 0x170001D5 RID: 469 // (get) Token: 0x06000965 RID: 2405 [Token(Token = "0x170001D5")] public abstract bool IsReadOnly { [Token(Token = "0x6000965")] [Address(Slot = "20")] get; } /// Gets a value indicating whether this property should be serialized, as specified in the . /// One of the enumeration values that specifies whether this property should be serialized. // Token: 0x170001D6 RID: 470 // (get) Token: 0x06000966 RID: 2406 RVA: 0x00005CE8 File Offset: 0x00003EE8 [Token(Token = "0x170001D6")] public DesignerSerializationVisibility SerializationVisibility { [Token(Token = "0x6000966")] [Address(RVA = "0xC69330", Offset = "0xC68330", VA = "0x180C69330")] get { return DesignerSerializationVisibility.Hidden; } } /// When overridden in a derived class, gets the type of the property. /// A that represents the type of the property. // Token: 0x170001D7 RID: 471 // (get) Token: 0x06000967 RID: 2407 [Token(Token = "0x170001D7")] public abstract Type PropertyType { [Token(Token = "0x6000967")] [Address(Slot = "21")] get; } /// Enables other objects to be notified when this property changes. /// The component to add the handler for. /// The delegate to add as a listener. /// /// or is . // Token: 0x06000968 RID: 2408 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000968")] [Address(RVA = "0xC67DD0", Offset = "0xC66DD0", VA = "0x180C67DD0", Slot = "22")] public virtual void AddValueChanged(object component, EventHandler handler) { } /// When overridden in a derived class, returns whether resetting an object changes its value. /// The component to test for reset capability. /// /// if resetting the component changes its value; otherwise, . // Token: 0x06000969 RID: 2409 [Token(Token = "0x6000969")] [Address(Slot = "23")] public abstract bool CanResetValue(object component); /// Compares this to another object to see if they are equivalent. /// The object to compare to this . /// /// if the values are equivalent; otherwise, . // Token: 0x0600096A RID: 2410 RVA: 0x00005D00 File Offset: 0x00003F00 [Token(Token = "0x600096A")] [Address(RVA = "0xC68140", Offset = "0xC67140", VA = "0x180C68140", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Creates an instance of the specified type. /// A that represents the type to create. /// A new instance of the type. // Token: 0x0600096B RID: 2411 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600096B")] [Address(RVA = "0xC67F30", Offset = "0xC66F30", VA = "0x180C67F30")] protected object CreateInstance(Type type) { return null; } /// Adds the attributes of the to the specified list of attributes in the parent class. /// An that lists the attributes in the parent class. Initially, this is empty. // Token: 0x0600096C RID: 2412 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600096C")] [Address(RVA = "0xC682E0", Offset = "0xC672E0", VA = "0x180C682E0", Slot = "15")] protected override void FillAttributes(IList attributeList) { } /// Returns the default . /// A collection of property descriptor. // Token: 0x0600096D RID: 2413 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600096D")] [Address(RVA = "0xC68440", Offset = "0xC67440", VA = "0x180C68440")] public PropertyDescriptorCollection GetChildProperties() { return null; } /// Returns a using a specified array of attributes as a filter. /// An array of type to use as a filter. /// A with the properties that match the specified attributes. // Token: 0x0600096E RID: 2414 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600096E")] [Address(RVA = "0xC68420", Offset = "0xC67420", VA = "0x180C68420")] public PropertyDescriptorCollection GetChildProperties(Attribute[] filter) { return null; } /// Returns a for a given object. /// A component to get the properties for. /// A with the properties for the specified component. // Token: 0x0600096F RID: 2415 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600096F")] [Address(RVA = "0xC68530", Offset = "0xC67530", VA = "0x180C68530")] public PropertyDescriptorCollection GetChildProperties(object instance) { return null; } /// Returns a for a given object using a specified array of attributes as a filter. /// A component to get the properties for. /// An array of type to use as a filter. /// A with the properties that match the specified attributes for the specified component. // Token: 0x06000970 RID: 2416 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000970")] [Address(RVA = "0xC68460", Offset = "0xC67460", VA = "0x180C68460", Slot = "24")] public virtual PropertyDescriptorCollection GetChildProperties(object instance, Attribute[] filter) { return null; } /// Gets an editor of the specified type. /// The base type of editor, which is used to differentiate between multiple editors that a property supports. /// An instance of the requested editor type, or if an editor cannot be found. // Token: 0x06000971 RID: 2417 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000971")] [Address(RVA = "0xC68550", Offset = "0xC67550", VA = "0x180C68550", Slot = "25")] public virtual object GetEditor(Type editorBaseType) { return null; } /// Returns the hash code for this object. /// The hash code for this object. // Token: 0x06000972 RID: 2418 RVA: 0x00005D18 File Offset: 0x00003F18 [Token(Token = "0x6000972")] [Address(RVA = "0xC68920", Offset = "0xC67920", VA = "0x180C68920", Slot = "2")] public override int GetHashCode() { return 0; } /// This method returns the object that should be used during invocation of members. /// The of the invocation target. /// The potential invocation target. /// The that should be used during invocation of members. // Token: 0x06000973 RID: 2419 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000973")] [Address(RVA = "0xC68980", Offset = "0xC67980", VA = "0x180C68980", Slot = "16")] protected override object GetInvocationTarget(Type type, object instance) { return null; } /// Returns a type using its name. /// The assembly-qualified name of the type to retrieve. /// A that matches the given type name, or if a match cannot be found. // Token: 0x06000974 RID: 2420 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000974")] [Address(RVA = "0xC68B40", Offset = "0xC67B40", VA = "0x180C68B40")] protected Type GetTypeFromName(string typeName) { return null; } /// When overridden in a derived class, gets the current value of the property on a component. /// The component with the property for which to retrieve the value. /// The value of a property for a given component. // Token: 0x06000975 RID: 2421 [Token(Token = "0x6000975")] [Address(Slot = "26")] public abstract object GetValue(object component); /// Raises the ValueChanged event that you implemented. /// The object that raises the event. /// An that contains the event data. // Token: 0x06000976 RID: 2422 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000976")] [Address(RVA = "0xC68E10", Offset = "0xC67E10", VA = "0x180C68E10", Slot = "27")] protected virtual void OnValueChanged(object component, EventArgs e) { } /// Enables other objects to be notified when this property changes. /// The component to remove the handler for. /// The delegate to remove as a listener. /// /// or is . // Token: 0x06000977 RID: 2423 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000977")] [Address(RVA = "0xC68EB0", Offset = "0xC67EB0", VA = "0x180C68EB0", Slot = "28")] public virtual void RemoveValueChanged(object component, EventHandler handler) { } /// Retrieves the current set of ValueChanged event handlers for a specific component /// The component for which to retrieve event handlers. /// A combined multicast event handler, or if no event handlers are currently assigned to . // Token: 0x06000978 RID: 2424 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000978")] [Address(RVA = "0xC68D90", Offset = "0xC67D90", VA = "0x180C68D90")] protected internal EventHandler GetValueChangedHandler(object component) { return null; } /// When overridden in a derived class, resets the value for this property of the component to the default value. /// The component with the property value that is to be reset to the default value. // Token: 0x06000979 RID: 2425 [Token(Token = "0x6000979")] [Address(Slot = "29")] public abstract void ResetValue(object component); /// When overridden in a derived class, sets the value of the component to a different value. /// The component with the property value that is to be set. /// The new value. // Token: 0x0600097A RID: 2426 [Token(Token = "0x600097A")] [Address(Slot = "30")] public abstract void SetValue(object component, object value); /// When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. /// The component with the property to be examined for persistence. /// /// if the property should be persisted; otherwise, . // Token: 0x0600097B RID: 2427 [Token(Token = "0x600097B")] [Address(Slot = "31")] public abstract bool ShouldSerializeValue(object component); /// Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor. /// /// if value change notifications may originate from outside the property descriptor; otherwise, . // Token: 0x170001D8 RID: 472 // (get) Token: 0x0600097C RID: 2428 RVA: 0x00005D30 File Offset: 0x00003F30 [Token(Token = "0x170001D8")] public virtual bool SupportsChangeEvents { [Token(Token = "0x600097C")] [Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "32")] get { return default(bool); } } // Token: 0x04000583 RID: 1411 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x4000583")] private TypeConverter converter; // Token: 0x04000584 RID: 1412 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x4000584")] private Hashtable valueChangedHandlers; // Token: 0x04000585 RID: 1413 [global::Cpp2IlInjected.FieldOffset(Offset = "0x70")] [Token(Token = "0x4000585")] private object[] editors; // Token: 0x04000586 RID: 1414 [global::Cpp2IlInjected.FieldOffset(Offset = "0x78")] [Token(Token = "0x4000586")] private Type[] editorTypes; // Token: 0x04000587 RID: 1415 [global::Cpp2IlInjected.FieldOffset(Offset = "0x80")] [Token(Token = "0x4000587")] private int editorCount; } }