/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="testViewerService">the test viewer</param>
 public RegAuthorizeAttribute(ITestViewerService testViewerService) : this()
 {
     if (testViewerService == null)
     {
         throw new ArgumentNullException("testViewerService");
     }
     _testViewerService = testViewerService;
 }
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="summaryService">The summary service</param>
		/// <param name="testViewerService">The testViewer service</param>
		public TestjobsController(ISummaryService summaryService, ITestViewerService testViewerService)
		{
			if (summaryService == null)
				throw new ArgumentNullException("summaryService");
			if (testViewerService == null)
				throw new ArgumentNullException("testViewerService");
			_summaryService = summaryService;
			_testViewerService = testViewerService;
		}
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="summaryService">The summary service</param>
 /// <param name="testViewerService">The testViewer service</param>
 public TestjobsController(ISummaryService summaryService, ITestViewerService testViewerService)
 {
     if (summaryService == null)
     {
         throw new ArgumentNullException("summaryService");
     }
     if (testViewerService == null)
     {
         throw new ArgumentNullException("testViewerService");
     }
     _summaryService    = summaryService;
     _testViewerService = testViewerService;
 }
示例#4
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="testService">the TestService</param>
        /// <param name="testViewerService">the TestViewerService</param>
        /// <param name="statusService">the StatusService</param>
        public TestingController(ITestService testService, ITestViewerService testViewerService, IStatusService statusService)
        {
            if (testService == null)
            {
                throw new ArgumentNullException("testService");
            }
            if (testViewerService == null)
            {
                throw new ArgumentNullException("testViewerService");
            }
            if (statusService == null)
            {
                throw new ArgumentNullException("statusService");
            }

            _testService       = testService;
            _testViewerService = testViewerService;
            _statusService     = statusService;
        }
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="testViewerService">the test viewer</param>
		public RegAuthorizeAttribute(ITestViewerService testViewerService) :this()
		{
			if (testViewerService == null)
				throw new ArgumentNullException("testViewerService");
			_testViewerService = testViewerService;
		}