/*
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 { Base, toNullable, Boolean_$type, fromEnum, markType } from "igniteui-angular-core";
import { ST_OnOff } from "./ST_OnOff";
/**
 * @hidden
 */
export class CT_CacheField_SML2009 extends Base {
    constructor() {
        super();
        this.c = toNullable(Boolean_$type, null);
    }
    get b() {
        return this.c;
    }
    set b(a) {
        this.c = a;
    }
    static d(a, b) {
        b = toNullable(Boolean_$type, null);
        for (let c of fromEnum(a.ab.u)) {
            switch (c.a.e(a.d)) {
                case "ignore":
                    b = toNullable(Boolean_$type, ST_OnOff.e(c.d));
                    break;
                default: break;
            }
        }
        ;
        return {
            p1: b
        };
    }
    static e(a, b, c = toNullable(Boolean_$type, null)) {
        a.ad.p(b, null);
        let d = null;
        let e = null;
        if (c.hasValue) {
            e = "ignore";
            d = ST_OnOff.g(c.value);
            a.ad.h(e, d);
        }
        ;
    }
}
CT_CacheField_SML2009.$t = markType(CT_CacheField_SML2009, 'CT_CacheField_SML2009');
//# sourceMappingURL=CT_CacheField_SML2009.js.map