Пример #1
0
        public override IEnumerable <TemplateViewModel> TypeEditorUpdate(ContentTypeDefinitionBuilder builder, IUpdateModel updateModel)
        {
            var model = new ContentTypeLayoutSettings();

            updateModel.TryUpdateModel(model, "ContentTypeLayoutSettings", null, null);
            builder.Placeable(model.Placeable);
            yield return(DefinitionTemplate(model));
        }
 public override IEnumerable<TemplateViewModel> TypeEditorUpdate(ContentTypeDefinitionBuilder builder, IUpdateModel updateModel) {
     var model = new ContentTypeLayoutSettings();
     updateModel.TryUpdateModel(model, "ContentTypeLayoutSettings", null, null);
     builder.Placeable(model.Placeable);
     yield return DefinitionTemplate(model);
 }