/// <summary> /// Constructor. Initalizes a new instance of ApiBase class inheriting ApiClient object /// of existing ApiBase instance, so authorization data become common for both. /// </summary> /// <param name="apiInstance"></param> protected internal ApiBase(ApiBase apiInstance) { this.ApiClient = apiInstance.ApiClient; }
/// <summary> /// Constructor. Initalizes a new instance of StorageApi class inheriting ApiClient object /// of existing ApiBase descendant class instance, so authorization data become shared between both instances. /// </summary> /// <param name="instance">Existing ApiBase inherited class instance</param> public StorageApi(ApiBase instance) : base(instance) { }
/// <summary> /// Constructor. Initalizes a new instance of HtmlApi class inheriting ApiClient object /// of existing ApiBase descendant class instance, so authorization data become shared between both instances. /// </summary> /// <param name="instance">Existing ApiBase inherited class instance</param> public HtmlApi(ApiBase instance) : base(instance) { }