C# Class Arc.Infrastructure.Data.NHibernate.Listeners.BaseValidationListener

Base class for integrating validation to NHibernate.
Show file Open project: marektihkan/Arc

Public Methods

Method Description
BaseValidationListener ( ) : System

Initializes a new instance of the BaseValidationListener class.

BaseValidationListener ( IValidationService validation ) : System

Initializes a new instance of the BaseValidationListener class.

Validate ( object entity, Type type ) : void

Validates the specified entity.

Method Details

BaseValidationListener() public method

Initializes a new instance of the BaseValidationListener class.
public BaseValidationListener ( ) : System
return System

BaseValidationListener() public method

Initializes a new instance of the BaseValidationListener class.
public BaseValidationListener ( IValidationService validation ) : System
validation IValidationService The validation service.
return System

Validate() public method

Validates the specified entity.
public Validate ( object entity, Type type ) : void
entity object The entity.
type System.Type The type.
return void