C# Class Machine.Specifications.Model.Context

显示文件 Open project: machine/machine.specifications Class Usage Examples

Public Methods

Method Description
AddSpecification ( Specification specification ) : void
Cleanup ( ) : System.Result
Context ( Type type, object instance, IEnumerable contextClauses, IEnumerable becauseClauses, IEnumerable cleanupClauses, Machine.Specifications.Model.Subject subject, bool isIgnored, IEnumerable tags, bool isSetupForEachSpec ) : System
EstablishContext ( ) : System.Result
Filter ( IEnumerable toKeep ) : void

Method Details

AddSpecification() public method

public AddSpecification ( Specification specification ) : void
specification Specification
return void

Cleanup() public method

public Cleanup ( ) : System.Result
return System.Result

Context() public method

public Context ( Type type, object instance, IEnumerable contextClauses, IEnumerable becauseClauses, IEnumerable cleanupClauses, Machine.Specifications.Model.Subject subject, bool isIgnored, IEnumerable tags, bool isSetupForEachSpec ) : System
type System.Type
instance object
contextClauses IEnumerable
becauseClauses IEnumerable
cleanupClauses IEnumerable
subject Machine.Specifications.Model.Subject
isIgnored bool
tags IEnumerable
isSetupForEachSpec bool
return System

EstablishContext() public method

public EstablishContext ( ) : System.Result
return System.Result

Filter() public method

public Filter ( IEnumerable toKeep ) : void
toKeep IEnumerable
return void