C# Class ServiceStack.FluentValidation.Results.ValidationFailure

Show file Open project: ServiceStack/ServiceStack Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Creates a textual representation of the failure.

ValidationFailure ( string propertyName, string error, string errorCode ) : System.Collections.Generic

Creates a new validation failure.

ValidationFailure ( string propertyName, string error, string errorCode, object attemptedValue ) : System.Collections.Generic

Creates a new ValidationFailure.

Method Details

ToString() public method

Creates a textual representation of the failure.
public ToString ( ) : string
return string

ValidationFailure() public method

Creates a new validation failure.
public ValidationFailure ( string propertyName, string error, string errorCode ) : System.Collections.Generic
propertyName string
error string
errorCode string
return System.Collections.Generic

ValidationFailure() public method

Creates a new ValidationFailure.
public ValidationFailure ( string propertyName, string error, string errorCode, object attemptedValue ) : System.Collections.Generic
propertyName string
error string
errorCode string
attemptedValue object
return System.Collections.Generic