public void Load([NotNull] ContentEditor editor) { Assert.ArgumentNotNull(editor, nameof(editor)); contentEditor = editor; RenderInfo(); }
public ContentEditorFieldContext([NotNull] ContentEditor contentEditor, [NotNull] Field field, [NotNull] object source) { Assert.ArgumentNotNull(contentEditor, nameof(contentEditor)); Assert.ArgumentNotNull(field, nameof(field)); Assert.ArgumentNotNull(source, nameof(source)); ContentEditor = contentEditor; Field = field; Source = source; }
public ContentEditorSectionContext([NotNull] ContentEditor contentEditor, [NotNull] ItemUri itemUri, [NotNull] string sectionName, [NotNull] Icon sectionIcon) { Assert.ArgumentNotNull(contentEditor, nameof(contentEditor)); Assert.ArgumentNotNull(itemUri, nameof(itemUri)); Assert.ArgumentNotNull(sectionName, nameof(sectionName)); Assert.ArgumentNotNull(sectionIcon, nameof(sectionIcon)); ContentEditor = contentEditor; SectionItemUri = itemUri; SectionName = sectionName; SectionIcon = sectionIcon; }
public ContentEditorContext([NotNull] ContentEditor contentEditor) { Assert.ArgumentNotNull(contentEditor, nameof(contentEditor)); ContentEditor = contentEditor; }
public void Initialize([NotNull] ContentEditor contentEditor) { Assert.ArgumentNotNull(contentEditor, nameof(contentEditor)); ContentEditor = contentEditor; }