Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.ComponentModel.PropertyDescriptor Class Referenceabstract

Public Member Functions

virtual void AddValueChanged (object component, EventHandler handler)
 
bool CanResetValue (object component)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
PropertyDescriptorCollection GetChildProperties ()
 
PropertyDescriptorCollection GetChildProperties (Attribute[] filter)
 
PropertyDescriptorCollection GetChildProperties (object instance)
 
virtual PropertyDescriptorCollection GetChildProperties (object? instance, Attribute[]? filter)
 
virtual ? object GetEditor (Type editorBaseType)
 
override int GetHashCode ()
 
object? GetValue (object? component)
 
virtual void RemoveValueChanged (object component, EventHandler handler)
 
void ResetValue (object component)
 
void SetValue (object? component, object? value)
 
bool ShouldSerializeValue (object component)
 

Protected Member Functions

 PropertyDescriptor (string name, Attribute[]? attrs)
 
 PropertyDescriptor (MemberDescriptor descr)
 
 PropertyDescriptor (MemberDescriptor descr, Attribute[]? attrs)
 
object? CreateInstance ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type)
 
override void FillAttributes (IList attributeList)
 
override? object GetInvocationTarget (Type type, object instance)
 
TypeGetTypeFromName ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] string? typeName)
 
virtual void OnValueChanged (object? component, EventArgs e)
 
virtual AttributeCollection CreateAttributeCollection ()
 
virtual void FillAttributes (IList attributeList)
 

Static Protected Member Functions

static ? MethodInfo FindMethod ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type componentClass, string name, Type[] args, Type returnType)
 
static ? MethodInfo FindMethod ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods|DynamicallyAccessedMemberTypes.NonPublicMethods)] Type componentClass, string name, Type[] args, Type returnType, bool publicOnly)
 
static ? ISite GetSite (object? component)
 
static object GetInvokee (Type componentClass, object component)
 

Package Functions

EventHandlerGetValueChangedHandler (object component)
 

Properties

Type ComponentType [get]
 
virtual TypeConverter Converter [get]
 
virtual bool IsLocalizable [get]
 
bool IsReadOnly [get]
 
DesignerSerializationVisibility SerializationVisibility [get]
 
Type PropertyType [get]
 
virtual bool SupportsChangeEvents [get]
 
virtual ? Attribute[] AttributeArray [get, set]
 
virtual AttributeCollection Attributes [get]
 
virtual string Category [get]
 
virtual string Description [get]
 
virtual bool IsBrowsable [get]
 
virtual string Name [get]
 
virtual int NameHashCode [get]
 
virtual bool DesignTimeOnly [get]
 
virtual string DisplayName [get]
 

Private Member Functions

void CheckAttributesValid ()
 
void FilterAttributesIfNeeded ()
 

Private Attributes

TypeConverter _converter
 
Hashtable _valueChangedHandlers
 
object[] _editors
 
Type[] _editorTypes
 
int _editorCount
 
readonly string _name
 
readonly string _displayName
 
readonly int _nameHash
 
AttributeCollection _attributeCollection
 
Attribute[] _attributes
 
Attribute[] _originalAttributes
 
bool _attributesFiltered
 
bool _attributesFilled
 
int _metadataVersion
 
string _category
 
string _description
 
readonly object _lockCookie = new object()
 

Detailed Description

Definition at line 7 of file PropertyDescriptor.cs.


The documentation for this class was generated from the following file: