Table of Contents

Method ConvertToString

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

ConvertToString(object, IValueSerializerContext)

Converts the given value to a string for use in serialization. This method should only be called if CanConvertToString returns true for the given value.

public override string? ConvertToString(object value, IValueSerializerContext context)

Parameters

value object

The value to convert to a string

context IValueSerializerContext

Context information

Returns

string

A string representation of value