C# Class Castle.Components.Validator.ErrorSummary

显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method 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 method

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

RegisterErrorMessage() public method

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

RegisterErrorMessage() public method

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