public ReportGenerator(string folder, object reportFields)
        {
            _folder = folder;
            _reportFields = reportFields;
            _fileNameGenerator = new FileNameGenerator(FILE_PREFIX, FILE_EXTENSION);

            if (!Directory.Exists(_folder))
                throw new Exception("Need an existing directory");
        }
        public ReportGenerator(string folder, object reportFields)
        {
            _folder            = folder;
            _reportFields      = reportFields;
            _fileNameGenerator = new FileNameGenerator(FILE_PREFIX, FILE_EXTENSION);

            if (!Directory.Exists(_folder))
            {
                throw new Exception("Need an existing directory");
            }
        }
 public AbstractSummaryWriter(ICollection <Aggregate <IEventLogRecord> > aggregates,
                              FileNameGenerator fileNameGenerator)
 {
     _aggregates        = aggregates;
     _fileNameGenerator = fileNameGenerator;
 }
Exemple #4
0
 public TextSummaryWriter(ICollection <Aggregate <IEventLogRecord> > aggregates, FileNameGenerator fileNameGenerator)
     : base(aggregates, fileNameGenerator)
 {
 }
 public AbstractSummaryWriter(ICollection<Aggregate<IEventLogRecord>> aggregates,
                              FileNameGenerator fileNameGenerator)
 {
     _aggregates = aggregates;
     _fileNameGenerator = fileNameGenerator;
 }
 public TextSummaryWriter(ICollection<Aggregate<IEventLogRecord>> aggregates, FileNameGenerator fileNameGenerator)
     : base(aggregates, fileNameGenerator)
 {
 }