Table of Contents

Class Converter<T, U>

Namespace
MudBlazor
Assembly
MudBlazor.dll
public class Converter<T, U>

Type Parameters

T
U
Inheritance
Converter<T, U>
Derived
Inherited Members
Extension Methods

Constructors

Converter()

public Converter()

Properties

Culture

The culture info being used for decimal points, date and time format, etc.

public CultureInfo Culture { get; set; }

Property Value

CultureInfo

GetError

public bool GetError { get; set; }

Property Value

bool

GetErrorMessage

public (string, object[])? GetErrorMessage { get; set; }

Property Value

(string, object[])?

GetFunc

public Func<U?, T?>? GetFunc { get; set; }

Property Value

Func<U, T>

OnError

public Action<string, object[]>? OnError { get; set; }

Property Value

Action<string, object[]>

SetError

public bool SetError { get; set; }

Property Value

bool

SetErrorMessage

public (string, object[])? SetErrorMessage { get; set; }

Property Value

(string, object[])?

SetFunc

public Func<T?, U?>? SetFunc { get; set; }

Property Value

Func<T, U>

Methods

Get(U?)

public T? Get(U? value)

Parameters

value U

Returns

T

Set(T?)

public U? Set(T? value)

Parameters

value T

Returns

U

UpdateGetError(string)

protected void UpdateGetError(string msg)

Parameters

msg string

UpdateGetError(string, object[])

protected void UpdateGetError(string msg, object[] arguments)

Parameters

msg string
arguments object[]

UpdateSetError(string)

protected void UpdateSetError(string msg)

Parameters

msg string

UpdateSetError(string, object[])

protected void UpdateSetError(string msg, object[] arguments)

Parameters

msg string
arguments object[]