Table of Contents

Method ConvertFromString

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

value string

The string value to convert

context IValueSerializerContext

Context information

Returns

object

An object corresponding to the string value