/// <inheritdoc />
        public void CopyTo(KeyValuePair <TIndex, TValue>[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            foreach (KeyValuePair <TIndex, TValue> entry in this)
            {
                array[arrayIndex] = entry;
                arrayIndex++;
            }
        }
        /// <inheritdoc />
        public void CopyTo(KeyValuePair <TIndex, TValue>[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.dictionary.CopyTo(array, arrayIndex);
        }
Ejemplo n.º 3
0
        /// <inheritdoc />
        public void CopyTo(T[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.countPerItem.Keys.CopyTo(array, arrayIndex);
        }
Ejemplo n.º 4
0
        /// <inheritdoc />
        public void CopyTo(TBase[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.values.Values.CopyTo(array, arrayIndex);
        }
Ejemplo n.º 5
0
        /// <inheritdoc />
        public void CopyTo(KeyValuePair <Type, TBase>[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.values.CopyTo(array, arrayIndex);
        }
Ejemplo n.º 6
0
        /// <inheritdoc />
        public void CopyTo(T[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.instances.Keys.CopyTo(array, arrayIndex);
        }
Ejemplo n.º 7
0
        /// <inheritdoc />
        public void CopyTo(IDisposable[] array, int arrayIndex)
        {
            ICollectionContracts.CopyTo(this, array, arrayIndex);

            this.disposables.CopyTo(array, arrayIndex);
        }