/// <summary> /// 'ctor - pass Parent API class /// </summary> /// <param name="parentAPI">ref to the parent API object</param> public ProjectApi(API parentAPI) { this.APICore = parentAPI; Xero.NetStandard.OAuth2.Client.Configuration confg = new Xero.NetStandard.OAuth2.Client.Configuration(); confg.UserAgent = "XeroAuth2API-" + APICore.Version; APIClient = new Xero.NetStandard.OAuth2.Api.ProjectApi(confg); }
public ProjectApi() { APIClient = new Xero.NetStandard.OAuth2.Api.ProjectApi(); }