public SampleControlPresenter(ISampleControlView view, IImportantService importantService)
 {
     if (view == null) throw new ArgumentNullException("view");
     if (importantService == null) throw new ArgumentNullException("importantService");
     _view = view;
     _importantService = importantService;
 }
Example #2
0
 public SampleControlPresenter(ISampleControlView view, IImportantService importantService)
 {
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     if (importantService == null)
     {
         throw new ArgumentNullException("importantService");
     }
     _view             = view;
     _importantService = importantService;
 }