/// <summary> /// Constructor used by ILiftBridge client (via Reflection). /// </summary> internal LiftBridgeController() { _liftBridgeView = new LiftBridgeDlg(); _startupNewView = new StartupNew(); _existingSystemView = new ExistingSystem(); _getSharedProject = new GetSharedProject(); }
/// <summary> /// Constructor used *only* for testing. /// </summary> internal LiftBridgeController(ILiftBridgeView mockedLiftBridgeView, IStartupNewView mockedStartupNewView, IExistingSystemView mockedExistingSystemView, IGetSharedProject mockedGetSharedProject) { _liftBridgeView = mockedLiftBridgeView; _startupNewView = mockedStartupNewView; _existingSystemView = mockedExistingSystemView; _getSharedProject = mockedGetSharedProject; }