Method ConvertFromString
ConvertFromString(string, IValueSerializerContext)
Convert a string to an object. This method should only be called if CanConvertFromString returns true for the given string.
public override object? ConvertFromString(string value, IValueSerializerContext context)
Parameters
valuestringThe string value to convert
contextIValueSerializerContextContext information
Returns
- object
An object corresponding to the string value