C# Class ClearCanvas.Desktop.Validation.ValidationResult

Represents the result of an IValidationRule evaluation.
Afficher le fichier Open project: jasper-yeh/ClearCanvas

Méthodes publiques

Méthode 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 méthode

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

GetMessageString() public méthode

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

ValidationResult() public méthode

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