Esempio n. 1
0
 public void Init()
 {
     _settingsView = MockRepository.GenerateMock <ILegacyClientSetupView>();
     _settingsView.Stub(x => x.FindValidatingControls()).Return(new List <IValidatingControl>());
     _networkOps        = MockRepository.GenerateMock <INetworkOps>();
     _messageBoxView    = MockRepository.GenerateMock <IMessageBoxView>();
     _folderBrowserView = MockRepository.GenerateMock <IFolderBrowserView>();
 }
 public void Init()
 {
    _settingsView = MockRepository.GenerateMock<ILegacyClientSetupView>();
    _settingsView.Stub(x => x.FindValidatingControls()).Return(new List<IValidatingControl>());
    _networkOps = MockRepository.GenerateMock<INetworkOps>();
    _messageBoxView = MockRepository.GenerateMock<IMessageBoxView>();
    _folderBrowserView = MockRepository.GenerateMock<IFolderBrowserView>();
 }
 public LegacyClientSetupPresenter(ILegacyClientSetupView settingsView, INetworkOps networkOps, IMessageBoxView messageBoxView, IFolderBrowserView folderBrowserView)
 {
     _settingsView = settingsView;
     _settingsView.AttachPresenter(this);
     _networkOps         = networkOps;
     _messageBoxView     = messageBoxView;
     _folderBrowserView  = folderBrowserView;
     _validatingControls = _settingsView.FindValidatingControls();
 }
 public LegacyClientSetupPresenter(ILegacyClientSetupView settingsView, INetworkOps networkOps, IMessageBoxView messageBoxView, IFolderBrowserView folderBrowserView)
 {
     _settingsView = settingsView;
      _settingsView.AttachPresenter(this);
      _networkOps = networkOps;
      _messageBoxView = messageBoxView;
      _folderBrowserView = folderBrowserView;
      _validatingControls = _settingsView.FindValidatingControls();
 }
Esempio n. 5
0
 public WebsiteDeployer(IPreferenceSet prefs, INetworkOps networkOps)
 {
     _prefs      = prefs;
     _networkOps = networkOps;
 }
Esempio n. 6
0
 public WebsiteDeployer(IPreferenceSet prefs, INetworkOps networkOps)
 {
     _prefs = prefs;
      _networkOps = networkOps;
 }