Exemple #1
0
        public EmhiCalculator(EmhiCalculatorSettings settings, IFileClient fileClient)
        {
            _settings   = settings;
            _fileClient = fileClient;

            Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
        }
Exemple #2
0
        public EmhiCalculator(EmhiCalculatorSettings settings,
                              IFileClient fileClient,
                              ILogger <EmhiCalculator> logger)
        {
            _settings   = settings;
            _fileClient = fileClient;
            _logger     = logger;

            Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
        }