示例#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];
     }
 }