C# Class Castle.Components.Validator.ErrorSummary

Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
GetErrorsForProperty ( string name ) : string[]

Gets the errors for a property.

RegisterErrorMessage ( PropertyInfo property, string message ) : void

Registers the error message per PropertyInfo.

RegisterErrorMessage ( string property, string message ) : void

Registers the error message per PropertyInfo.

Method Details

GetErrorsForProperty() public méthode

Gets the errors for a property.
public GetErrorsForProperty ( string name ) : string[]
name string The property name.
Résultat string[]

RegisterErrorMessage() public méthode

Registers the error message per PropertyInfo.
public RegisterErrorMessage ( PropertyInfo property, string message ) : void
property System.Reflection.PropertyInfo The property.
message string The message.
Résultat void

RegisterErrorMessage() public méthode

Registers the error message per PropertyInfo.
public RegisterErrorMessage ( string property, string message ) : void
property string The property.
message string The message.
Résultat void