Add row and column accessors for tables and grids

This commit is contained in:
Patrik Svensson
2020-10-26 11:51:35 +01:00
committed by Patrik Svensson
parent 3e5e22d6c2
commit e7f497050c
30 changed files with 511 additions and 162 deletions

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace Spectre.Console.Internal.Collections
{
internal sealed class ListWithCallback<T> : IList<T>
internal sealed class ListWithCallback<T> : IList<T>, IReadOnlyList<T>
{
private readonly List<T> _list;
private readonly Action _callback;