public CustomEntityTemplateSectionTagBuilderFactory( IPageModuleRenderer moduleRenderer, IPageModuleDataModelTypeFactory moduleDataModelTypeFactory, IPageModuleTypeFileNameFormatter moduleTypeFileNameFormatter) { _moduleRenderer = moduleRenderer; _moduleDataModelTypeFactory = moduleDataModelTypeFactory; _moduleTypeFileNameFormatter = moduleTypeFileNameFormatter; }
public CustomEntityTemplateSectionTagBuilder( IPageModuleRenderer moduleRenderer, IPageModuleDataModelTypeFactory moduleDataModelTypeFactory, IPageModuleTypeFileNameFormatter moduleTypeFileNameFormatter, HtmlHelper htmlHelper, ICustomEntityDetailsPageViewModel <TModel> customEntityViewModel, string sectionName) { Condition.Requires(sectionName).IsNotNullOrWhiteSpace(); Condition.Requires(customEntityViewModel).IsNotNull(); _moduleRenderer = moduleRenderer; _moduleDataModelTypeFactory = moduleDataModelTypeFactory; _moduleTypeFileNameFormatter = moduleTypeFileNameFormatter; _sectionName = sectionName; _customEntityViewModel = customEntityViewModel; _htmlHelper = htmlHelper; }
public PageTemplateSectionTagBuilder( IPageModuleRenderer moduleRenderer, IPageModuleDataModelTypeFactory moduleDataModelTypeFactory, IPageModuleTypeFileNameFormatter moduleTypeFileNameFormatter, HtmlHelper htmlHelper, IEditablePageViewModel pageViewModel, string sectionName) { Condition.Requires(sectionName).IsNotNullOrWhiteSpace(); Condition.Requires(pageViewModel).IsNotNull(); _moduleRenderer = moduleRenderer; _moduleDataModelTypeFactory = moduleDataModelTypeFactory; _moduleTypeFileNameFormatter = moduleTypeFileNameFormatter; _sectionName = sectionName; _pageViewModel = pageViewModel; _htmlHelper = htmlHelper; }