/// <inheritdoc />
 public GenericDbcFileGeneratorFillable([NotNull] ITypeConverterProvider <TDbcEntryType, TDbcFileType> modelConverter, [NotNull] IDbcFileGenerator <TDbcFileType> dbcGenerator, [NotNull] IDbcEntryReader <TDbcEntryType> dbcReader)
 {
     ModelConverter = modelConverter ?? throw new ArgumentNullException(nameof(modelConverter));
     DbcGenerator   = dbcGenerator ?? throw new ArgumentNullException(nameof(dbcGenerator));
     DbcReader      = dbcReader ?? throw new ArgumentNullException(nameof(dbcReader));
 }
 /// <inheritdoc />
 public NonGenericDbcFileGeneratorFillable([NotNull] IDbcFileGenerator <TDbcFileType> dbcGenerator, [NotNull] IDbcEntryReader <TDbcFileType> dbcReader)
 {
     DbcGenerator = dbcGenerator ?? throw new ArgumentNullException(nameof(dbcGenerator));
     DbcReader    = dbcReader ?? throw new ArgumentNullException(nameof(dbcReader));
 }
Beispiel #3
0
 /// <inheritdoc />
 public DbcDatabaseFileToTableConverter([NotNull] IDatabaseDbcInsertable <TDBCEntryType> inserter, [NotNull] IDbcEntryReader <TDBCEntryType> dbcReader, [NotNull] ILogger <DbcDatabaseFileToTableConverter <TDBCEntryType> > logger)
 {
     Inserter  = inserter ?? throw new ArgumentNullException(nameof(inserter));
     DbcReader = dbcReader ?? throw new ArgumentNullException(nameof(dbcReader));
     Logger    = logger ?? throw new ArgumentNullException(nameof(logger));
 }