Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ICustomTypeDescriptor.cs
Go to the documentation of this file.
2
4
5public interface ICustomTypeDescriptor
6{
8
9 string? GetClassName();
10
12
13 [RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
15
16 [RequiresUnreferencedCode("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
18
19 [RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
21
22 [RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
23 object? GetEditor(Type editorBaseType);
24
26
27 [RequiresUnreferencedCode("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
29
30 [RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered.")]
32
33 [RequiresUnreferencedCode("PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
35
37}
object? GetEditor(Type editorBaseType)
PropertyDescriptorCollection GetProperties(Attribute[]? attributes)
object? GetPropertyOwner(PropertyDescriptor? pd)
PropertyDescriptorCollection GetProperties()
EventDescriptorCollection GetEvents()
EventDescriptorCollection GetEvents(Attribute[]? attributes)