Метод | Описание | |
---|---|---|
ToString ( ) : string |
Creates a textual representation of the failure.
|
|
ValidationFailure ( string propertyName, string error ) : System |
Creates a new validation failure.
|
|
ValidationFailure ( string propertyName, string error, object attemptedValue ) : System |
Creates a new ValidationFailure.
|
Метод | Описание | |
---|---|---|
ValidationFailure ( ) : System |
public ValidationFailure ( string propertyName, string error ) : System | ||
propertyName | string | |
error | string | |
Результат | System |
public ValidationFailure ( string propertyName, string error, object attemptedValue ) : System | ||
propertyName | string | |
error | string | |
attemptedValue | object | |
Результат | System |