public HtmlTag Build(ElementRequest request, string category = null, string profile = null) { profile = profile ?? _profile.Name ?? TagConstants.Default; category = category ?? TagConstants.Default; var token = request.ToToken(); var plan = _library.PlanFor(token, profile, category); request.Attach(_serviceLocator); return plan.Build(request); }
public HtmlTag Build(ElementRequest request, string category = null, string profile = null) { profile = profile ?? _profile.Name ?? TagConstants.Default; category = category ?? TagConstants.Default; var token = request.ToToken(); token.Attach(_serviceLocator); var plan = _library.PlanFor(token, profile, category); request.Attach(_serviceLocator); return(plan.Build(request)); }