/// <inheritdoc /> public DbcFullFileGenerator([NotNull] IDbcEntryWriter <TDbcWriteType> entryWriter, [NotNull] IDbcStringWriter stringWriter, [NotNull] IDbcHeaderWriter headerWriter, [NotNull] IStringDatabaseProvider stringDatabaseProvider, ILogger <DbcFullFileGenerator <TDbcWriteType> > logger) { EntryWriter = entryWriter ?? throw new ArgumentNullException(nameof(entryWriter)); StringWriter = stringWriter ?? throw new ArgumentNullException(nameof(stringWriter)); HeaderWriter = headerWriter ?? throw new ArgumentNullException(nameof(headerWriter)); StringDatabaseProvider = stringDatabaseProvider ?? throw new ArgumentNullException(nameof(stringDatabaseProvider)); Logger = logger; }
/// <inheritdoc /> public GDbcFullFileGenerator([NotNull] IDbcEntryWriter <TDbcWriteType> entryWriter, ILogger <GDbcFullFileGenerator <TDbcWriteType> > logger) { EntryWriter = entryWriter ?? throw new ArgumentNullException(nameof(entryWriter)); Logger = logger; }