C# Class Xunit.Internal.DefaultBuilder

A IBuilder implementation for standard interface + abstract class types.
Inheritance: IBuilder
Show file Open project: BjRo/xunitbddextensions

Public Methods

Method Description
BuildFrom ( IFabricContext fabricContext ) : object

Builds an instance from/with the data contained in the supplied build context.

KnowsHowToBuild ( Type type ) : bool

Determines whether the builder can build the supplied type.

Method Details

BuildFrom() public method

Builds an instance from/with the data contained in the supplied build context.
public BuildFrom ( IFabricContext fabricContext ) : object
fabricContext IFabricContext /// Specifies the build context of the current build operation. ///
return object

KnowsHowToBuild() public method

Determines whether the builder can build the supplied type.
public KnowsHowToBuild ( Type type ) : bool
type System.Type /// Specifies the type to check. ///
return bool