/*
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 { CondFmtBase } from "./CondFmtBase";
import { markType } from "igniteui-angular-core";
import { ConditionBase } from "./ConditionBase";
import { List$1 } from "igniteui-angular-core";
import { WorksheetRegion } from "./WorksheetRegion";
/**
 * @hidden
 */
export class CONDFMTSerializer extends CondFmtBase {
    constructor() {
        super();
        this.h = null;
        this.h = new List$1(ConditionBase.$, 0);
    }
    g() {
        if (this.c.count == 1) {
            return this.c.item(0);
        }
        let a = this.c.item(0);
        for (let b = 1; b < this.c.count; b++) {
            let c = this.c.item(b);
            a = WorksheetRegion._g(a, c);
        }
        return a;
    }
}
CONDFMTSerializer.$t = markType(CONDFMTSerializer, 'CONDFMTSerializer', CondFmtBase.$);
//# sourceMappingURL=CONDFMTSerializer.js.map