public Authorization(IVkApiVersionManager versionManager, IRestClient restClient, IReceiptParser parser, [CanBeNull] ILogger logger) { _versionManager = versionManager; _restClient = restClient; _parser = parser; _logger = logger; }
public VkAndroidAuthorization([NotNull] IVkApiInvoker vkApiInvoker, [NotNull] IReceiptParser parser, [CanBeNull] ILogger <VkAndroidAuthorization> logger) { _vkApiInvoker = vkApiInvoker; ReceiptParser = parser; _logger = logger; }
public ImportReceiptHandler( IApplicationContext appContext, IDateTimeOffset dateTimeOffset, IFakturContext dbContext, IGuid guid, IMapper mapper, IReceiptParser parser, IOptions <TaxOptions> taxOptions ) { this.appContext = appContext ?? throw new ArgumentNullException(nameof(appContext)); this.dateTimeOffset = dateTimeOffset ?? throw new ArgumentNullException(nameof(dateTimeOffset)); this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); this.guid = guid ?? throw new ArgumentNullException(nameof(guid)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.parser = parser ?? throw new ArgumentNullException(nameof(parser)); this.taxOptions = taxOptions?.Value ?? throw new ArgumentNullException(nameof(taxOptions)); }
internal Context(IPdfParser pdfParser, IReceiptFormatParser formatParser, IReceiptParser <FuelReceiptData> fuelReceiptParser) { PdfParser = pdfParser; ReceiptFormatParser = formatParser; FuelReceiptParser = fuelReceiptParser; }