public LicensePlateSearchPresenter(ILicenseplateSearchScreen screen, IMessageBoxService messageBoxService, LicensePlateRepository repository) { if (screen == null) throw new ArgumentNullException("screen"); if (messageBoxService == null) throw new ArgumentNullException("messageBoxService"); if (repository == null) throw new ArgumentNullException("repository"); _screen = screen; _messageBoxService = messageBoxService; _repository = repository; }
public LicensePlateSearchPresenter(ILicenseplateSearchScreen screen, IMessageBoxService messageBoxService, LicensePlateRepository repository) { if (screen == null) { throw new ArgumentNullException("screen"); } if (messageBoxService == null) { throw new ArgumentNullException("messageBoxService"); } if (repository == null) { throw new ArgumentNullException("repository"); } _screen = screen; _messageBoxService = messageBoxService; _repository = repository; }