/// <summary> /// Gets the <see cref="Span"/> at the reference. /// </summary> /// <param name="spanRef">A reference to a span.</param> /// <returns>The span at the reference.</returns> public Span this[SpanReference spanRef] { get { return(cells[spanRef.Y * width + spanRef.X].Spans[spanRef.Index]); } }
/// <summary> /// Gets the <see cref="Span"/> at the reference. /// </summary> /// <param name="spanRef">A reference to a span.</param> /// <returns>The span at the reference.</returns> public Span this[SpanReference spanRef] { get { return cells[spanRef.Y * width + spanRef.X].Spans[spanRef.Index]; } }