Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.ReflectPropertyDescriptor Class Referencesealed

Public Member Functions

 ReflectPropertyDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, string name, Type type, Attribute[] attributes)
 
 ReflectPropertyDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, string name, Type type, PropertyInfo propInfo, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs)
 
 ReflectPropertyDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, string name, Type type, Type receiverType, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs)
 
 ReflectPropertyDescriptor ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentClass, PropertyDescriptor oldReflectPropertyDescriptor, Attribute[] attributes)
 
override void AddValueChanged (object component, EventHandler handler)
 
override bool CanResetValue (object component)
 
override object GetValue (object component)
 
override void RemoveValueChanged (object component, EventHandler handler)
 
override void ResetValue (object component)
 
override void SetValue (object component, object value)
 
override bool ShouldSerializeValue (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)
 
void SetValue (object? component, object? value)
 

Protected Member Functions

override void FillAttributes (IList attributes)
 
override void OnValueChanged (object component, EventArgs e)
 
object? CreateInstance ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type)
 
virtual 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 ()
 

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

bool ExtenderCanResetValue (IExtenderProvider provider, object component)
 
Type ExtenderGetReceiverType ()
 
Type ExtenderGetType (IExtenderProvider provider)
 
object ExtenderGetValue (IExtenderProvider provider, object component)
 
void ExtenderResetValue (IExtenderProvider provider, object component, PropertyDescriptor notifyDesc)
 
void ExtenderSetValue (IExtenderProvider provider, object component, object value, PropertyDescriptor notifyDesc)
 
bool ExtenderShouldSerializeValue (IExtenderProvider provider, object component)
 
void OnINotifyPropertyChanged (object component, PropertyChangedEventArgs e)
 
EventHandlerGetValueChangedHandler (object component)
 

Properties

object AmbientValue [get]
 
EventDescriptor ChangedEventValue [get]
 
EventDescriptor IPropChangedEventValue [get]
 
override Type ComponentType [get]
 
object DefaultValue [get]
 
MethodInfo GetMethodValue [get]
 
bool IsExtender [get]
 
override bool IsReadOnly [get]
 
override Type PropertyType [get]
 
MethodInfo ResetMethodValue [get]
 
MethodInfo SetMethodValue [get]
 
MethodInfo ShouldSerializeMethodValue [get]
 
override bool SupportsChangeEvents [get]
 
virtual TypeConverter Converter [get]
 
virtual bool IsLocalizable [get]
 
DesignerSerializationVisibility SerializationVisibility [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

bool AttributesContainsDesignerVisibilityContent ()
 
void CheckAttributesValid ()
 
void FilterAttributesIfNeeded ()
 

Private Attributes

InterlockedBitVector32 _state
 
readonly Type _componentClass
 
readonly Type _type
 
object _defaultValue
 
object _ambientValue
 
PropertyInfo _propInfo
 
MethodInfo _getMethod
 
MethodInfo _setMethod
 
MethodInfo _shouldSerializeMethod
 
MethodInfo _resetMethod
 
EventDescriptor _realChangedEvent
 
EventDescriptor _realIPropChangedEvent
 
readonly Type _receiverType
 
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()
 

Static Private Attributes

static readonly object s_noValue = new object()
 
static readonly int s_bitDefaultValueQueried = InterlockedBitVector32.CreateMask()
 
static readonly int s_bitGetQueried = InterlockedBitVector32.CreateMask(s_bitDefaultValueQueried)
 
static readonly int s_bitSetQueried = InterlockedBitVector32.CreateMask(s_bitGetQueried)
 
static readonly int s_bitShouldSerializeQueried = InterlockedBitVector32.CreateMask(s_bitSetQueried)
 
static readonly int s_bitResetQueried = InterlockedBitVector32.CreateMask(s_bitShouldSerializeQueried)
 
static readonly int s_bitChangedQueried = InterlockedBitVector32.CreateMask(s_bitResetQueried)
 
static readonly int s_bitIPropChangedQueried = InterlockedBitVector32.CreateMask(s_bitChangedQueried)
 
static readonly int s_bitReadOnlyChecked = InterlockedBitVector32.CreateMask(s_bitIPropChangedQueried)
 
static readonly int s_bitAmbientValueQueried = InterlockedBitVector32.CreateMask(s_bitReadOnlyChecked)
 
static readonly int s_bitSetOnDemand = InterlockedBitVector32.CreateMask(s_bitAmbientValueQueried)
 

Detailed Description

Definition at line 9 of file ReflectPropertyDescriptor.cs.


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