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

◆ ConvertFrom() [3/4]

override? object System.ComponentModel.StringConverter.ConvertFrom ( ITypeDescriptorContext? context,
CultureInfo? culture,
object? value )
inlineinherited

Definition at line 16 of file StringConverter.cs.

17 {
18 if (value is string)
19 {
20 return (string)value;
21 }
22 if (value == null)
23 {
24 return string.Empty;
25 }
26 return base.ConvertFrom(context, culture, value);
27 }

References System.culture, and System.value.