Files
TextParser/TextParser/Data/IDataSetIndexer.cs
2024-12-05 23:36:23 +01:00

10 lines
619 B
C#

public interface IDataSetIndexer<TDataType, TIndexType>
{
public TDataType Get<TGenericCollectionContentType>(List<TGenericCollectionContentType> collection, IDataIndex<TIndexType> index);
public TDataType Get<TGenericCollectionContentType>(List<TGenericCollectionContentType> collection, params TIndexType[] indices);
public TDataType GetAtIndex(List<TDataType> collection, TIndexType index);
public TDataType GetAtIndex(List<List<TDataType>> collection, TIndexType x, TIndexType y);
public TDataType GetAtIndex(List<List<List<TDataType>>> collection, TIndexType x, TIndexType y, TIndexType z);
}