Пример #1
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;
 }
Пример #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;
 }