Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
ValidationFailure ( ) : System |
public ValidationFailure ( string propertyName, string error ) : System | ||
propertyName | string | |
error | string | |
return | System |
public ValidationFailure ( string propertyName, string error, object attemptedValue ) : System | ||
propertyName | string | |
error | string | |
attemptedValue | object | |
return | System |