C# Class Xunit.Reporting.Internal.Assembly

A simple wrapper class around System.Reflection.Assembly for the sake of testability.
Inheritance: IAssembly
Afficher le fichier Open project: BjRo/xunitbddextensions Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat IEnumerable

Assembly() public méthode

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