public EditMenuModel( [NotNull] ItemSelectorModel selector, [NotNull] ILibrary library) { _selector = selector ?? throw new ArgumentNullException(nameof(selector)); _library = library ?? throw new ArgumentNullException(nameof(library)); }
public EditScreenModel([NotNull] ILibrary library) { if (library is null) { throw new ArgumentNullException(nameof(library)); } ItemSelectorModel = new ItemSelectorModel(); ViewPortModel = new ViewPortModel(ItemSelectorModel, library); EditMenuModel = new EditMenuModel(ItemSelectorModel, library); }