Skip to content

IItemBuilder<TFixtureItem> interface

Builder for configuring a fixture item then building a concrete instance of it.

csharp
public interface IItemBuilder<TFixtureItem>
public interface IItemBuilder<TFixtureItem>
parameterdescription
TFixtureItemThe fixture item type.

Members

namedescription
Build()Builds a concrete instance of type TFixtureItem as configured by this builder. If TFixtureItem is a twizzar base-type a unique value of the given type will be returned. If TFixtureItem is an interface, it will be a stub of Type TFixtureItem. If TFixtureItem is a class, the type itself will be created via reflection.
BuildMany(…)Builds many concrete instance of type TFixtureItem. The method Build will be called n times where n = count.

See Also