Метод | Описание | |
---|---|---|
AppendAdditionalArguments ( ) : |
Adds additional arguments to the message for use with standard string placeholders.
|
|
AppendArgument ( string name, object value ) : |
Adds a value for a validation message placeholder.
|
|
AppendPropertyName ( string name ) : |
Appends a property name to the message.
|
|
AppendPropertyValue ( object value ) : |
Appends a property value to the message.
|
|
BuildMessage ( string messageTemplate ) : string |
Constructs the final message from the specified template.
|
Метод | Описание | |
---|---|---|
GetPlaceholder ( string key ) : string | ||
ReplacePlaceholderWithValue ( string template, string key, object value ) : string |
public AppendAdditionalArguments ( ) : |
||
Результат |
public AppendArgument ( string name, object value ) : |
||
name | string | |
value | object | |
Результат |
public AppendPropertyName ( string name ) : |
||
name | string | The name of the property |
Результат |
public AppendPropertyValue ( object value ) : |
||
value | object | The value of the property |
Результат |
public BuildMessage ( string messageTemplate ) : string | ||
messageTemplate | string | Message template |
Результат | string |