/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, markType } from "igniteui-angular-core";
import { WorksheetCFInfo } from "./WorksheetCFInfo";
import { Worksheet } from "./Worksheet";
import { Dictionary$2 } from "igniteui-angular-core";
/**
 * @hidden
 */
var WorkbookCFInfo = /** @class */ (function (_super) {
    tslib_1.__extends(WorkbookCFInfo, _super);
    function WorkbookCFInfo() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.b = null;
        return _this;
    }
    WorkbookCFInfo.prototype.a = function (a) {
        var _this = this;
        if (this.b == null) {
            this.b = new Dictionary$2(Worksheet.$, WorksheetCFInfo.$, 0);
        }
        var b = null;
        if (((function () { var c = _this.b.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
            b = new WorksheetCFInfo(a);
            this.b.addItem(a, b);
        }
        return b;
    };
    WorkbookCFInfo.prototype.c = function (a) {
        var _this = this;
        var b = null;
        if (((function () { var c = _this.b.tryGetValue(a, b); b = c.p1; return c.ret; })()) == false) {
            return b.f();
        }
        return null;
    };
    WorkbookCFInfo.$t = markType(WorkbookCFInfo, 'WorkbookCFInfo');
    return WorkbookCFInfo;
}(Base));
export { WorkbookCFInfo };
//# sourceMappingURL=WorkbookCFInfo.js.map