public JenkinsLookup2Function(JenkinsConfig config) { if (config is null) { throw new ArgumentNullException(nameof(config)); } _config = config.Clone(); }
public JenkinsLookup3Function(JenkinsConfig config) { if (config is null) { throw new ArgumentNullException(nameof(config)); } _config = config.Clone(); if (!_validHashSizes.Contains(_config.HashSizeInBits)) { throw new ArgumentOutOfRangeException($"{nameof(config)}.{nameof(config.HashSizeInBits)}", _config.HashSizeInBits, $"{nameof(config)}.{nameof(config.HashSizeInBits)} must be contained within JenkinsLookup3.ValidHashSizes."); } }