public void SetUp() { theTarget = new ConventionTarget(); theGenerator = HtmlElementScenario <ConventionTarget> .For(x => { x.Model = theTarget; }); }
public void SetUp() { theTarget = new ConventionTarget(); theGenerator = HtmlElementScenario<ConventionTarget>.For(x => { x.Model = theTarget; }); }
public void SetUp() { theTarget = new ConventionTarget(); theRegistry = new HtmlConventionRegistry(); _generator = new Lazy <IElementGenerator <ConventionTarget> >(() => { return(HtmlElementScenario <ConventionTarget> .For(x => { x.Library.Import(theRegistry.Library); x.Model = theTarget; })); }); }
public void SetUp() { theTarget = new ConventionTarget(); theRegistry = new HtmlConventionRegistry(); _generator = new Lazy<IElementGenerator<ConventionTarget>>(() => { return HtmlElementScenario<ConventionTarget>.For(x => { x.Library.Import(theRegistry.Library); x.Model = theTarget; }); }); }