/// <summary> /// Start the Uri with the base uri /// </summary> /// <param name="etsyContext">the etsy context</param> /// <returns>the Uri builder</returns> public static EtsyUriBuilder Start(EtsyContext etsyContext) { EtsyUriBuilder instance = new EtsyUriBuilder(etsyContext); instance.Append(etsyContext.BaseUrl); return instance; }
/// <summary> /// Start the Uri with the base uri and a path under that /// </summary> /// <param name="etsyContext">the etsy context</param> /// <param name="basePath">the path on the base uri</param> /// <param name="id">the item id to append</param> /// <returns>the Uri builder</returns> public static EtsyUriBuilder Start(EtsyContext etsyContext, string basePath, string id) { EtsyUriBuilder instance = new EtsyUriBuilder(etsyContext); instance.Append(etsyContext.BaseUrl); instance.Append(basePath); instance.Append("/"); instance.Append(id); return instance; }