UNPKG

typescript-dotnet-core

Version:

A the core classes and utilities of a JavaScript-Friendly .NET Based TypeScript Library.

7 lines (6 loc) 928 B
"use strict"; /*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md */Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),CollectionBase_1=require("./CollectionBase"),ReadOnlyCollectionBase=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tslib_1.__extends(t,e),t.prototype.getCount=function(){return this._getCount()},t.prototype.getIsReadOnly=function(){return!0},t.prototype._addInternal=function(e){return!1},t.prototype._removeInternal=function(e,t){return 0},t.prototype._clearInternal=function(){return 0},t.prototype.getEnumerator=function(){return this._getEnumerator()},t}(CollectionBase_1.default);exports.ReadOnlyCollectionBase=ReadOnlyCollectionBase,exports.default=ReadOnlyCollectionBase; //# sourceMappingURL=ReadOnlyCollectionBase.js.map