protected abstract IMainView CreateMainView(MenuItem[] menu);
public MenuItem(Command command, MenuItem[] items) : this(null, command, null) { }
private MenuItem(string text, Command command, MenuItem[] items) { _text = text ?? command.Text; _command = command; _items = items; }
public MenuItem(string text, MenuItem[] items) : this(text, null, items) { }