C# Class DotNetNuke.Extensions.DomainModel.ValidatableObject

Inheritance: BaseObject, IRuleValidatable
Mostrar archivo Open project: JonHaywood/DotNetNuke.Extensions

Public Methods

Method Description
GetRuleViolations ( ) : IEnumerable

Gets a collection of business rule violations, if there are any.

IsValid ( ) : bool

Returns true if the object passes all business rule checks.

Method Details

GetRuleViolations() public method

Gets a collection of business rule violations, if there are any.
public GetRuleViolations ( ) : IEnumerable
return IEnumerable

IsValid() public method

Returns true if the object passes all business rule checks.
public IsValid ( ) : bool
return bool