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 virtual object ConvertFromString(string value, IValueSerializerContext context)
Parameters
value
stringThe string value to convert
context
IValueSerializerContextContext information
Returns
- object
An object corresponding to the string value