protected override void beforeEach() { _request = new HtmlConventionsPreviewRequestModel { OutputModel = "test" }; }
public HtmlConventionsPreviewViewModel Execute(HtmlConventionsPreviewRequestModel request) { var context = _contextFactory.BuildFromPath(request.OutputModel); var model = new HtmlConventionsPreviewViewModel(); _decorators .Each(d => d.Enrich(context, model)); return model; }
public HtmlConventionsPreviewViewModel Execute(HtmlConventionsPreviewRequestModel request) { var context = _contextFactory.BuildFromPath(request.OutputModel); var model = new HtmlConventionsPreviewViewModel(); _decorators .Each(d => d.Enrich(context, model)); return(model); }