Table of Contents

Class DefaultConverter<T>

Namespace
MudBlazor
Assembly
MudBlazor.dll

A universal T to string binding converter

public class DefaultConverter<T> : Converter<T>

Type Parameters

T
Inheritance
DefaultConverter<T>
Inherited Members
Extension Methods

Constructors

DefaultConverter()

public DefaultConverter()

Fields

GlobalGetFunc

A static global delegate used if no converter is found.

public static Func<T, string> GlobalGetFunc

Field Value

Func<T, string>

GlobalSetFunc

A static global delegate used if no converter is found.

public static Func<string, T> GlobalSetFunc

Field Value

Func<string, T>

Properties

DefaultTimeSpanFormat

public string DefaultTimeSpanFormat { get; set; }

Property Value

string

Methods

ConvertFromString(string)

protected virtual T ConvertFromString(string value)

Parameters

value string

Returns

T

ConvertToString(T)

protected virtual string ConvertToString(T arg)

Parameters

arg T

Returns

string

IsNullableEnum(Type)

public static bool IsNullableEnum(Type t)

Parameters

t Type

Returns

bool