private protected BungieClientBase(IBungieApiKey apiKey) { if (apiKey == null) { throw new ArgumentNullException(nameof(apiKey)); } if (apiKey.Value == "") { throw new ArgumentException("API key value cannot be an empty string.", nameof(apiKey) + "." + nameof(apiKey.Value)); } _apiKey = apiKey.Value; }
public BungieClient(IBungieApiKey apiKey) : base(apiKey) { }