コード例 #1
0
        public ContactsPresenter(IContactsView view, IContactsRepository contactsRepository)
        {
            ArgumentChecker.ThrowIfNull(contactsRepository, "contactsRepository");

            this.view = view;
            this.contactsRepository = contactsRepository;
        }
コード例 #2
0
 public static ContactsPresenter Create(IContactsView view)
 {
     return(new ContactsPresenter(view, RepositoryFactory.CreateContactsRepository()));
 }
コード例 #3
0
 public ContactsViewCallback(IContactsView contactsView)
 {
     _contactsView = contactsView;
 }