/*
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, Type, Delegate_$type, markType, getInstanceType } from "igniteui-angular-core";
import { Dictionary$2 } from "igniteui-angular-core";
/**
 * @hidden
 */
export let MessageHandler = /*@__PURE__*/ (() => {
    class MessageHandler extends Base {
        constructor() {
            super(...arguments);
            this.a = new Dictionary$2(Type.$, Delegate_$type, 0);
        }
        b(a, b) {
            this.a.addItem(a, b);
        }
        c(a) {
            let b;
            if (((() => { let c = this.a.tryGetValue(getInstanceType(a), b); b = c.p1; return c.ret; })())) {
                b(a);
            }
        }
    }
    MessageHandler.$t = markType(MessageHandler, 'MessageHandler');
    return MessageHandler;
})();
//# sourceMappingURL=MessageHandler.js.map
