igniteui-angular-core
Version:
Ignite UI Angular Core logic used in multiple UI components.
45 lines (44 loc) • 1.65 kB
JavaScript
/*
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 { ValueType, markStruct } from "./type";
/**
* @hidden
*/
var ValueTuple$2 = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ValueTuple$2, _super);
function ValueTuple$2($t1, $t2, a) {
var _rest = [];
for (var _i = 3; _i < arguments.length; _i++) {
_rest[_i - 3] = arguments[_i];
}
var _this = _super.call(this) || this;
_this.$t1 = null;
_this.$t2 = null;
_this.a = null;
_this.b = null;
_this.$t1 = $t1;
_this.$t2 = $t2;
_this.$type = _this.$type.specialize(_this.$t1, _this.$t2);
a = (a == void 0) ? 0 : a;
switch (a) {
case 0: break;
case 1:
{
var c = _rest[0];
var d = _rest[1];
_this.a = c;
_this.b = d;
}
break;
}
return _this;
}
ValueTuple$2.$t = markStruct(ValueTuple$2, 'ValueTuple$2');
return ValueTuple$2;
}(ValueType));
export { ValueTuple$2 };