Skip to content

HTTPS clone URL

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
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// 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 <http://www.gnu.org/licenses/>.
//
#if HOSTED_MODE
using DotWeb.System.DotWeb;
namespace DotWeb.System
#else
using System.DotWeb;
namespace System
#endif
{
[UseSystem]
[JsNamespace]
[JsCamelCase]
public class Array : JsObject
{
private Array() {
}
public extern int Length { get; }
public extern object this[int index] { get; set; }
#if !HOSTED_MODE
///// <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);
//}
#endif
}
}
Jump to Line
Something went wrong with that request. Please try again.