public DeskEditorPresenter(IDeskEditorView view) { if (view == null) throw new ArgumentNullException("View can't be null"); __view = view; __desk = new Desk(); }
public DeskEditorPresenter(IDeskEditorView view, Desk desk) { if (view == null) throw new ArgumentNullException("View can't be null"); if (desk == null) throw new ArgumentNullException("Desk can't be null"); __view = view; __desk = desk; }