Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ComponentConverter.cs
Go to the documentation of this file.
2
4
6{
8 : base(type)
9 {
10 }
11
12 [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.")]
13 public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
14 {
15 return TypeDescriptor.GetProperties(value, attributes);
16 }
17
18 public override bool GetPropertiesSupported(ITypeDescriptorContext? context)
19 {
20 return true;
21 }
22}
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
override bool GetPropertiesSupported(ITypeDescriptorContext? context)
static PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType)