Ejemplo n.º 1
0
 public static IModelPropertyEditor Get_ContentEditor(IModelDesignTemplateContentEditor editor)
 => editor.ContentEditors.FirstOrDefault(viewItem => viewItem.Id() == editor.ContentEditorId);
Ejemplo n.º 2
0
 public static void Set_ContentEditor(IModelDesignTemplateContentEditor contentEditor, IModelPropertyEditor propertyEditor)
 => contentEditor.ContentEditorId = propertyEditor.Id();
Ejemplo n.º 3
0
 public CalculatedModelNodeList <IModelPropertyEditor> Get_ContentEditors(IModelDesignTemplateContentEditor modelDesignTemplateContentEditor)
 => modelDesignTemplateContentEditor.GetParent <IModelDesignTemplateDetailView>().DetailView
 .MemberViewItems(typeof(IRichTextPropertyEditor)).Cast <IModelPropertyEditor>()
 .ToCalculatedModelNodeList();