C# Class Jwc.Experiment.Idioms.RestrictiveReferenceAssertion

Encapsulates a unit test that verifies that all references of an assembly are specified.
Inheritance: IdiomaticAssertion
ファイルを表示 Open project: jwChung/Experimentalism Class Usage Examples

Public Methods

Method Description
RestrictiveReferenceAssertion ( ) : System

Initializes a new instance of the RestrictiveReferenceAssertion class.

Verify ( Assembly assembly ) : void

Verifies that all references of an assembly are specified through the restrictive references.

Private Methods

Method Description
GetRestrictiveReferenceString ( ) : string
Verify ( Assembly assembly, Assembly reference ) : void
Verify ( Assembly assembly, IEnumerable references, Assembly restrictiveReference ) : void

Method Details

RestrictiveReferenceAssertion() public method

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

Verify() public method

Verifies that all references of an assembly are specified through the restrictive references.
public Verify ( Assembly assembly ) : void
assembly System.Reflection.Assembly /// The assembly. ///
return void