/*
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 { __extends } from "tslib";
import { Base, typeCast, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_CustomColor } from "./CT_CustomColor";
/**
 * @hidden
 */
var CT_CustomColorList = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CT_CustomColorList, _super);
    function CT_CustomColorList() {
        var _this = _super.call(this) || this;
        _this.b = null;
        return _this;
    }
    Object.defineProperty(CT_CustomColorList.prototype, "a", {
        get: function () {
            return this.b;
        },
        set: function (a) {
            this.b = a;
        },
        enumerable: false,
        configurable: true
    });
    CT_CustomColorList.prototype.setProperty = function (a, b) {
        switch (a) {
            case 366:
                this.a.add(typeCast(CT_CustomColor.$, b));
                break;
            default: break;
        }
    };
    CT_CustomColorList.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_CustomColorList.$t = markType(CT_CustomColorList, 'CT_CustomColorList', Base.$, [ISupportSetProperty_$type]);
    return CT_CustomColorList;
}(Base));
export { CT_CustomColorList };
