Table of Contents

Method Convert

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

Convert(TSource, TDest)

Converts source enum value to the destination enum value.

public abstract TDest Convert(TSource value, TDest defaultValue = default)

Parameters

value TSource

Value to convert.

defaultValue TDest

Default value used if mapping not found.

Returns

TDest