Exemplo n.º 1
0
        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));
        }