Esempio n. 1
0
        public PresenterReference(IBindItemView <string> reference)
        {
            this.referenceView = reference ?? throw new System.ArgumentNullException(nameof(reference));

            this.referenceModel = new ReferenceModel();
            Display();
        }
Esempio n. 2
0
 public PresenterSelectedDataBase(IBindItemView <TypeDataBase> selectedDataBaseView, IUpdateDataBaseMain updateDataBaseMain)
 {
     this.selectedDataBaseView = selectedDataBaseView ?? throw new ArgumentNullException(nameof(selectedDataBaseView));
     this.updateDataBaseMain   = updateDataBaseMain ?? throw new ArgumentNullException(nameof(updateDataBaseMain));
     this.selectedDBModel      = new SelectedDataBaseModel();
     Display();
 }