/// <summary> /// Initializes a new instance of the <see cref="ReconciliationsApi"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public ReconciliationsApi(Lusid.Sdk.Client.Configuration configuration) { if (configuration == null) { throw new ArgumentNullException("configuration"); } this.Configuration = configuration; this.Client = new Lusid.Sdk.Client.ApiClient(this.Configuration.BasePath); this.AsynchronousClient = new Lusid.Sdk.Client.ApiClient(this.Configuration.BasePath); ExceptionFactory = Lusid.Sdk.Client.Configuration.DefaultExceptionFactory; }
/// <summary> /// Initializes a new instance of the <see cref="ReconciliationsApi"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public ReconciliationsApi(Lusid.Sdk.Client.Configuration configuration = null) { if (configuration == null) // use the default one in Configuration { this.Configuration = Lusid.Sdk.Client.Configuration.Default; } else { this.Configuration = configuration; } ExceptionFactory = Lusid.Sdk.Client.Configuration.DefaultExceptionFactory; }