C# Class CavemanTools.Model.Validation.ValidationBag

Used to centralize multiple validations
Show file Open project: sapiens/cavemantools Class Usage Examples

Public Methods

Method Description
Add ( bool value ) : void

Adds validation result

AtLeastOneIs ( bool value ) : bool
ValidationBag ( ) : System.Collections.Generic

DEfault validation state is invalid

ValidationBag ( bool init ) : System.Collections.Generic

Method Details

Add() public method

Adds validation result
public Add ( bool value ) : void
value bool
return void

AtLeastOneIs() public method

public AtLeastOneIs ( bool value ) : bool
value bool
return bool

ValidationBag() public method

DEfault validation state is invalid
public ValidationBag ( ) : System.Collections.Generic
return System.Collections.Generic

ValidationBag() public method

public ValidationBag ( bool init ) : System.Collections.Generic
init bool State of bag: valid or invalid
return System.Collections.Generic