Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
GetPlaceholder ( string key ) : string | ||
ReplacePlaceholderWithValue ( string template, string key, object value ) : string |
public AppendAdditionalArguments ( ) : |
||
return |
public AppendArgument ( string name, object value ) : |
||
name | string | |
value | object | |
return |
public AppendPropertyName ( string name ) : |
||
name | string | The name of the property |
return |
public AppendPropertyValue ( object value ) : |
||
value | object | The value of the property |
return |
public BuildMessage ( string messageTemplate ) : string | ||
messageTemplate | string | Message template |
return | string |