Beispiel #1
0
 public SQLiteGenerator(IDataGenerationJobService jobService, IVersionService versionService, AnmatConfiguration configuration)
 {
     this.scriptBuilder  = new StringBuilder();
     this.jobService     = jobService;
     this.versionService = versionService;
     this.configuration  = configuration;
 }
        public CsvDocumentReader(AnmatConfiguration configuration)
        {
            this.configuration  = configuration;
            this.typeConverters = new Dictionary <Type, Func <string, DocumentMetadata, DocumentColumnMetadata, string> > ();

            this.LoadTypeConverters();
        }
        public DocumentGenerator(string name, IDocumentReader reader, IDataGenerationJobService jobService,
                                 IDocumentMetadataService metadataService, AnmatConfiguration configuration)
        {
            this.reader          = reader;
            this.jobService      = jobService;
            this.metadataService = metadataService;
            this.configuration   = configuration;

            this.Name     = name;
            this.Metadata = this.GetMetadata();
        }