コード例 #1
0
        public ReportInfoCollector(bool success, Report report)
        {
            Success = success;

            eventBuilder = success
                               ? (IBuildReportingEvent)new SuccessEventReportingBuilder(this, null)
                               : new FailureEventReportingBuilder(this, null);

            this.report = report;
        }
コード例 #2
0
 public CustomReportInfoCollector(Report report)
 {
     this.report = report;
 }
コード例 #3
0
 public ReportInfoCollector(Report report, IEvent @event)
 {
     this.report = report;
     eventBuilder = new CustomEventReportingBuilder(this, @event);
 }