Exemplo n.º 1
0
 public CurrencyConverterFactory(string optionsJson)
 {
     _options = ConversionBufferOptionsFactory.CreateFromString(optionsJson) ??
                throw new ArgumentNullException(nameof(optionsJson));
 }
Exemplo n.º 2
0
 public CurrencyConverterFactory(IEnumerable <BufferPair> bufferPairs)
 {
     _options = ConversionBufferOptionsFactory.Create(bufferPairs) ??
                throw new ArgumentNullException(nameof(bufferPairs));
 }