Esempio n. 1
0
 public HiveComparer(
     HttpClient httpClient,
     JsonComparer comparer,
     IOptionsSnapshot <RegistrationComparerConfiguration> options,
     ILogger <HiveComparer> logger)
 {
     _httpClient = httpClient ?? throw new ArgumentNullException(nameof(httpClient));
     _comparer   = comparer ?? throw new ArgumentNullException(nameof(comparer));
     _options    = options ?? throw new ArgumentNullException(nameof(options));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public JsonComparerFacts()
 {
     Context = GetContext();
     Target  = new JsonComparer();
 }