mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-11-04 02:25:28 +08:00
Add row and column accessors for tables and grids
This commit is contained in:
committed by
Patrik Svensson
parent
3e5e22d6c2
commit
e7f497050c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user