Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1d5e1dedbb
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (57 sloc) 2.169 kb
// Copyright 2009, Frank Laub
// This file is part of DotWeb.
// DotWeb is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// DotWeb is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with DotWeb. If not, see <>.
using DotWeb.System.DotWeb;
namespace DotWeb.System
using System.DotWeb;
namespace System
public class Array : JsObject
private Array() {
public extern int Length { get; }
public extern object this[int index] { get; set; }
///// <summary>
///// Copies a range of elements from an Array starting at the specified source index and
///// pastes them to another Array starting at the specified destination index.
///// The length and the indexes are specified as 32-bit integers.
///// </summary>
///// <param name="sourceArray">The Array that contains the data to copy.</param>
///// <param name="sourceIndex">A 32-bit integer that represents the index in the sourceArray at which copying begins.</param>
///// <param name="destinationArray">The Array that receives the data.</param>
///// <param name="destinationIndex">A 32-bit integer that represents the index in the destinationArray at which storing begins.</param>
///// <param name="length">A 32-bit integer that represents the number of elements to copy.</param>
//public static void Copy(
// global::System.Array sourceArray,
// int sourceIndex,
// global::System.Array destinationArray,
// int destinationIndex,
// int length) {
// var jsSource = new JsArray(sourceArray);
// var jsDest = new JsArray(destinationArray);
Jump to Line
Something went wrong with that request. Please try again.