using System.Collections.Generic; namespace Retailcrm.Versions.V5 { using ParentClass = V4.Client; /// /// V5 Client /// public partial class Client : ParentClass { /// /// V5 Client Constructor /// /// /// /// public Client(string url, string key, string site = "") : base(url, key, site) { if ("/" != url.Substring(url.Length - 1, 1)) { url += "/"; } url += "api/v5"; Request = new Request(url, new Dictionary { { "apiKey", key } }); SiteCode = site; } } }