/// <summary> /// Initializes a new instance of CachingDataDragonClient with the specified realm configuration. /// </summary> /// <param name="realmConfiguration">A <see cref="RealmConfiguration"/> object that specifies configuration parameters for the client.</param> public CachingDataDragonClient(RealmConfiguration realmConfiguration) { this.client = new DataDragonClient(realmConfiguration); }
/// <summary> /// Initializes a new instance of CachingDataDragonClient with the specified realm. /// </summary> /// <param name="realm">A Data Dragon realm code, for example, "na"</param> /// <remarks>The client will use the default language and latest patch version for the specified realm.</remarks> public CachingDataDragonClient(string realm) { this.client = new DataDragonClient(realm); }