/// <summary> /// Constructor for ConectionResultsForm. /// </summary> /// <param name="configurationTestRunner">The ConfigurationTestRunnerBase implementation which can /// perform configuration tests.</param> /// <param name="databaseConnectionCheckerFactory"> /// The IDatabaseConnectionCheckerFactory implementation which can return the /// appropriate IDatabaseConnectionChecker implementation.</param> /// <param name="connectionSourceDefaultDescription">The default description which will be associated /// with the source of a database connection string if another description is not present.</param> public ConnectionResultsForm( ConfigurationTestRunnerBase configurationTestRunner, IDatabaseConnectionCheckerFactory databaseConnectionCheckerFactory, string connectionSourceDefaultDescription) { InitializeComponent(); this.configurationTestRunner = configurationTestRunner; this.databaseConnectionCheckerFactory = databaseConnectionCheckerFactory; this.connectionSourceDefaultDescription = connectionSourceDefaultDescription; }
/// <summary> /// Constructor for DatabaseConnectionCheckerFactoryBase. /// </summary> /// <param name="databaseConnectionCheckerFactory">An IDatabaseConnectionCheckerFactory which /// will be expected to provide the relevant IDatabaseConnectionChecker implementation when a /// database connection test is executed.</param> public DatabaseConnectionTestRunnerBase( IDatabaseConnectionCheckerFactory databaseConnectionCheckerFactory) { this.databaseConnectionCheckerFactory = databaseConnectionCheckerFactory; }
/// <summary> /// Constructor for DatabaseConnectionTestRunner. /// </summary> /// <param name="databaseConnectionCheckerFactory">An object which can return the /// appropriate IDatabaseConnectionChecker implementation when required.</param> public DatabaseConnectionTestRunner( IDatabaseConnectionCheckerFactory databaseConnectionCheckerFactory) : base(databaseConnectionCheckerFactory) { }