Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConvertTo() [1/2]

override? object System.ComponentModel.CollectionConverter.ConvertTo ( ITypeDescriptorContext? context,
CultureInfo? culture,
object? value,
Type destinationType )
inlinevirtual

Reimplemented from System.ComponentModel.TypeConverter.

Definition at line 9 of file CollectionConverter.cs.

10 {
11 if (destinationType == typeof(string) && value is ICollection)
12 {
13 return System.SR.Collection;
14 }
15 return base.ConvertTo(context, culture, value, destinationType);
16 }
static string Collection
Definition SR.cs:16
Definition SR.cs:7

References System.SR.Collection, System.culture, and System.value.