/// <summary> /// Initializes a new instance of the TestService type. Once started, /// the service will listen on the provided parameters' socket. /// </summary> /// <param name="serviceOptions">The service options to use.</param> public TestService(TestServiceOptions serviceOptions) { _serviceOptions = serviceOptions; }
/// <summary> /// Initializes a new instance of the TestRun type. /// </summary> /// <param name="serviceOptions">The service options to use.</param> /// <param name="runOptions">The test run options to apply.</param> public TestRun(TestServiceOptions serviceOptions, TestRunOptions runOptions) { _testServiceOptions = serviceOptions; TestService = new TestService(_testServiceOptions); Options = runOptions; }
/// <summary> /// Initializes a new instance of the test service. /// </summary> /// <param name="options">The test service options.</param> public TestServiceEngine(TestServiceOptions options) { ServerName = options.MachineName; Port = options.Port; ShutdownDelay = options.ShutdownDelay; }
/// <summary> /// Initializes a new instance of the TestRun type. /// </summary> /// <param name="serviceOptions">The test service options to use.</param> public TestRun(TestServiceOptions serviceOptions) : this(serviceOptions, new TestRunOptions()) { }
/// <summary> /// Initializes a new instance of the TestService type. Once started, /// the service will listen on the provided parameters' socket. /// </summary> /// <param name="serviceOptions">The service options to use.</param> public TestService(TestServiceOptions serviceOptions) { _serviceOptions = serviceOptions; }
/// <summary> /// Initializes a new instance of the TestRun type. /// </summary> /// <param name="serviceOptions">The test service options to use.</param> public TestRun(TestServiceOptions serviceOptions) : this(serviceOptions, new TestRunOptions()) { }
/// <summary> /// Initializes a new instance of the TestRun type. /// </summary> /// <param name="serviceOptions">The service options to use.</param> /// <param name="runOptions">The test run options to apply.</param> public TestRun(TestServiceOptions serviceOptions, TestRunOptions runOptions) { _testServiceOptions = serviceOptions; TestService = new TestService(_testServiceOptions); Options = runOptions; }
/// <summary> /// Initializes a new instance of the test service. /// </summary> /// <param name="options">The test service options.</param> public TestServiceEngine(TestServiceOptions options) { ServerName = options.MachineName; Port = options.Port; ShutdownDelay = options.ShutdownDelay; }