Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ExpandableObjectConverter.cs
Go to the documentation of this file.
1
using
System.Diagnostics.CodeAnalysis
;
2
3
namespace
System.ComponentModel
;
4
5
public
class
ExpandableObjectConverter
:
TypeConverter
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
}
System.Attribute
Definition
Attribute.cs:12
System.ComponentModel.ExpandableObjectConverter.GetPropertiesSupported
override bool GetPropertiesSupported(ITypeDescriptorContext? context)
Definition
ExpandableObjectConverter.cs:13
System.ComponentModel.ExpandableObjectConverter.GetProperties
override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes)
Definition
ExpandableObjectConverter.cs:8
System.ComponentModel.ExpandableObjectConverter
Definition
ExpandableObjectConverter.cs:6
System.ComponentModel.PropertyDescriptorCollection
Definition
PropertyDescriptorCollection.cs:7
System.ComponentModel.TypeConverter
Definition
TypeConverter.cs:9
System.ComponentModel.TypeDescriptor.GetProperties
static PropertyDescriptorCollection GetProperties([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type componentType)
Definition
TypeDescriptor.cs:1813
System.ComponentModel.TypeDescriptor
Definition
TypeDescriptor.cs:12
System.ComponentModel.ITypeDescriptorContext
Definition
ITypeDescriptorContext.cs:4
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.ExceptionArgument.value
@ value
source
System.ComponentModel.TypeConverter
System.ComponentModel
ExpandableObjectConverter.cs
Generated by
1.10.0