C# Класс Xunit.Internal.Fabric

A fabric for creating a constructor dependency of the system under test and applying some configuration rules to it.
Наследование: IFabric
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Build ( Type typeToBuild, IContainer container ) : object

Builds a dependency.

Fabric ( IMockingEngine mockingEngine, IEnumerable builders, IEnumerable configurationRules ) : System

Creates a new instance of the Fabric class.

Описание методов

Build() публичный Метод

Builds a dependency.
public Build ( Type typeToBuild, IContainer container ) : object
typeToBuild System.Type /// Specifies the type to be build. ///
container IContainer /// Specifies the automocking container. ///
Результат object

Fabric() публичный Метод

Creates a new instance of the Fabric class.
public Fabric ( IMockingEngine mockingEngine, IEnumerable builders, IEnumerable configurationRules ) : System
mockingEngine IMockingEngine The mock factory.
builders IEnumerable A collection of all known builders.
configurationRules IEnumerable A set of rules for configuration of the produced instances.
Результат System