コード例 #1
0
ファイル: ModelLogic.cs プロジェクト: ndamgaard/Reactive.XAF
 public static IModelPropertyEditor Get_ContentEditor(IModelDesignTemplateContentEditor editor)
 => editor.ContentEditors.FirstOrDefault(viewItem => viewItem.Id() == editor.ContentEditorId);
コード例 #2
0
ファイル: ModelLogic.cs プロジェクト: ndamgaard/Reactive.XAF
 public static void Set_ContentEditor(IModelDesignTemplateContentEditor contentEditor, IModelPropertyEditor propertyEditor)
 => contentEditor.ContentEditorId = propertyEditor.Id();
コード例 #3
0
ファイル: ModelLogic.cs プロジェクト: ndamgaard/Reactive.XAF
 public CalculatedModelNodeList <IModelPropertyEditor> Get_ContentEditors(IModelDesignTemplateContentEditor modelDesignTemplateContentEditor)
 => modelDesignTemplateContentEditor.GetParent <IModelDesignTemplateDetailView>().DetailView
 .MemberViewItems(typeof(IRichTextPropertyEditor)).Cast <IModelPropertyEditor>()
 .ToCalculatedModelNodeList();