Exemple #1
0
 public Zap(ISettings settings, ILogger logger, IScanner scanner, IReporting reporting, ISpider spider)
 {
     this.settings  = settings;
     this.logger    = logger;
     this.scanner   = scanner;
     this.reporting = reporting;
     this.spider    = spider;
 }
Exemple #2
0
 public Zap(ISettings settings, ILogger logger, IScanner scanner, IReporting reporting, ISpider spider)
 {
     this.settings = settings;
     this.logger = logger;
     this.scanner = scanner;
     this.reporting = reporting;
     this.spider = spider;
 }
        public SubscriptionController(
            IDataStorage dataStorage,
            IReporting reporting)
        {
            this.dataStorage = dataStorage;
            this.reporting = reporting;

            this.userActivityLogger = new UserActivityLogger(this.reporting);
        }
        public SessionController(
            IAuthenticationService authService,
            IReporting reporting)
        {
            this.authService = authService;
            this.reporting = reporting;

            this.userActivityLogger = new UserActivityLogger(this.reporting);
        }
Exemple #5
0
        public SessionController(
            IAuthenticationService authService,
            IReporting reporting)
        {
            this.authService = authService;
            this.reporting   = reporting;

            this.userActivityLogger = new UserActivityLogger(this.reporting);
        }
Exemple #6
0
        public SubscriptionController(
            IDataStorage dataStorage,
            IReporting reporting)
        {
            this.dataStorage = dataStorage;
            this.reporting   = reporting;

            this.userActivityLogger = new UserActivityLogger(this.reporting);
        }
 public SessionController(
     IAuthenticationService authService,
     ISession session,
     IReporting reporting)
 {
     _session = session;
     _authService = authService;
     _reporting = reporting;
     _log = new UserActivity(_reporting);
 }
        private IReporting ReporterFactory(FileStream ReportStream)
        {
            IReporting Reporter = null;

            if (this.Format == OutPutFormat.Html)
            {
                Reporter = new HtmlReporting(this.TestSet.FileNames, this.ProductionSet.FileNames, ReportStream, this.ProjectName);
            }
            else if (this.Format == OutPutFormat.Xml)
            {
                Reporter = new XmlReporting(this.TestSet.FileNames, this.ProductionSet.FileNames, ReportStream, this.ProjectName);
            }
            return(Reporter);
        }
Exemple #9
0
        private IReporting ReporterFactory(FileStream ReportStream)
        {
            IReporting       Reporter       = null;
            StringCollection TestAssemblies = new StringCollection();

            TestAssemblies.Add(this.TestAssembly);

            if (this.ReportFormat == "Html")
            {
                Reporter = new HtmlReporting(TestAssemblies, new StringCollection(), ReportStream, this.ProjectName);
            }
            else if (this.ReportFormat == "Xml")
            {
                Reporter = new XmlReporting(TestAssemblies, new StringCollection(), ReportStream, this.ProjectName);
            }
            return(Reporter);
        }
 public UserActivityLogger(IReporting reporting)
 {
     this.reporting = reporting;
 }
 public UserActivityLogger(IReporting reporting)
 {
     this.reporting = reporting;
 }
 public ReportController(IReporting repo)
 {
     _repo = repo;
 }
Exemple #13
0
 public ReposrtingServiceWithLogging(IReporting reporting)
 {
     decorated = reporting;
 }