예제 #1
0
 /// <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]);
     }
 }
예제 #2
0
 /// <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];
     }
 }