C# Class ClearCanvas.Desktop.Validation.ValidationResult

Represents the result of an IValidationRule evaluation.
显示文件 Open project: jasper-yeh/ClearCanvas

Public Methods

Method Description
Combine ( IEnumerable results ) : ValidationResult

Combines a collection of validation results into a single result.

GetMessageString ( string separator ) : string

Concatenates the elements of the Messages property into a single message using the specified separator.

ValidationResult ( bool success ) : System.Collections.Generic

Constructor.

Method Details

Combine() public static method

Combines a collection of validation results into a single result.
public static Combine ( IEnumerable results ) : ValidationResult
results IEnumerable
return ValidationResult

GetMessageString() public method

Concatenates the elements of the Messages property into a single message using the specified separator.
public GetMessageString ( string separator ) : string
separator string
return string

ValidationResult() public method

Constructor.
public ValidationResult ( bool success ) : System.Collections.Generic
success bool Indicates whether the validation succeeded.
return System.Collections.Generic