Exemplo n.º 1
0
        protected internal void SetIncludes(AppConf conf, LayoutModel layoutModel)
        {
            Includes includes = AppContentResponder.GetAppIncludes(conf);

            if (IncludeCommon)
            {
                Includes commonIncludes = ContentResponder.GetCommonIncludes(ContentRoot);
                includes = commonIncludes.Combine(includes);
            }
            layoutModel.ScriptTags         = includes.GetScriptTags().ToHtmlString();
            layoutModel.StyleSheetLinkTags = includes.GetStyleSheetLinkTags().ToHtmlString();
        }