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
GetError
public bool GetError { get; set; }
Property Value
GetErrorMessage
public (string, object[])? GetErrorMessage { get; set; }
Property Value
GetFunc
public Func<U?, T?>? GetFunc { get; set; }
Property Value
- Func<U, T>
OnError
public Action<string, object[]>? OnError { get; set; }
Property Value
SetError
public bool SetError { get; set; }
Property Value
SetErrorMessage
public (string, object[])? SetErrorMessage { get; set; }
Property Value
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
UpdateSetError(string)
protected void UpdateSetError(string msg)
Parameters
msg
string
UpdateSetError(string, object[])
protected void UpdateSetError(string msg, object[] arguments)