Exemplo n.º 1
0
 /// <summary>
 /// Creates an <see cref="Enumerator"/> for the rank 3 array wrapped in the <see cref="ReadOnlyArrayR3{T}"/> argument.
 /// </summary>
 public Enumerator(ReadOnlyArrayR3 <T> array) : this(array.Array)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Indicates whether this and another instance are considered equivalent.
 /// </summary><returns>
 /// True if both instances share the same backing array, or if both backing arrays are absent; otherwise false.
 /// </returns>
 /// <param name="other">Another instance to compare against.</param>
 public bool Equals(ReadOnlyArrayR3 <T> other)
 {
     return(object.ReferenceEquals(this.array, other.array));
 }