C# Class Xunit.Reporting.Internal.Assembly

A simple wrapper class around System.Reflection.Assembly for the sake of testability.
Inheritance: IAssembly
ファイルを表示 Open project: BjRo/xunitbddextensions Class Usage Examples

Public Methods

Method Description
AllTypesMatching ( bool>.Func predicate ) : IEnumerable

Collects all exported types of the assembly matching the predicate specified via predicate.

This method never returns null.

Assembly ( System assembly ) : System

Creates a new instance of the Assembly class.

Method Details

AllTypesMatching() public method

Collects all exported types of the assembly matching the predicate specified via predicate.
This method never returns null.
public AllTypesMatching ( bool>.Func predicate ) : IEnumerable
predicate bool>.Func /// Specifies a predicate that evaluates each exported type in the assembly. ///
return IEnumerable

Assembly() public method

Creates a new instance of the Assembly class.
public Assembly ( System assembly ) : System
assembly System /// Specifies the which is wrapped. ///
return System