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

◆ CanConvertFrom() [1/2]

override bool System.ComponentModel.VersionConverter.CanConvertFrom ( ITypeDescriptorContext? context,
Type sourceType )
inlinevirtual

Reimplemented from System.ComponentModel.TypeConverter.

Definition at line 9 of file VersionConverter.cs.

10 {
11 if (!(sourceType == typeof(string)) && !(sourceType == typeof(Version)))
12 {
13 return base.CanConvertFrom(context, sourceType);
14 }
15 return true;
16 }