You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/10/29 16:56:47 UTC
[3/3] ignite git commit: IGNITE-1770: DotNet part.
IGNITE-1770: DotNet part.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0356a86c
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0356a86c
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0356a86c
Branch: refs/heads/ignite-1770
Commit: 0356a86cdc31440f07044e38d52eea950b4e3c10
Parents: ebb5990
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Thu Oct 29 18:57:27 2015 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Thu Oct 29 18:57:27 2015 +0300
----------------------------------------------------------------------
.../Apache.Ignite.Core/Impl/Common/ResizeableArray.cs | 14 ++++++++++++++
1 file changed, 14 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/0356a86c/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/ResizeableArray.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/ResizeableArray.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/ResizeableArray.cs
index 3555dc5..cb432e5 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/ResizeableArray.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/ResizeableArray.cs
@@ -30,21 +30,35 @@ namespace Apache.Ignite.Core.Impl.Common
/** Items count. */
private int _count;
+ /// <summary>
+ /// Constructor.
+ /// </summary>
+ /// <param name="capacity">Capacity.</param>
public ResizeableArray(int capacity)
{
_arr = new T[capacity];
}
+ /// <summary>
+ /// Array.
+ /// </summary>
public T[] Array
{
get { return _arr; }
}
+ /// <summary>
+ /// Count.
+ /// </summary>
public int Count
{
get { return _count; }
}
+ /// <summary>
+ /// Add element.
+ /// </summary>
+ /// <param name="element">Element.</param>
public void Add(T element)
{
if (_count == _arr.Length)