Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExpandableObjectConverter.cs
Go to the documentation of this file.
2
4
6{
7 [RequiresUnreferencedCode("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
8 public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
9 {
10 return TypeDescriptor.GetProperties(value, attributes);
11 }
12
13 public override bool GetPropertiesSupported(ITypeDescriptorContext? context)
14 {
15 return true;
16 }
17}
override bool GetPropertiesSupported(ITypeDescriptorContext? context)
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
static PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType)