Class ProjectedList<TContext, TInput, TOutput>
- Namespace
- ICSharpCode.Decompiler.Util
- Assembly
- ICSharpCode.Decompiler.dll
public sealed class ProjectedList<TContext, TInput, TOutput> : IReadOnlyList<TOutput>, IReadOnlyCollection<TOutput>, IEnumerable<TOutput>, IEnumerable where TOutput : class
Type Parameters
TContext
TInput
TOutput
- Inheritance
-
ProjectedList<TContext, TInput, TOutput>
- Implements
-
IReadOnlyList<TOutput>IReadOnlyCollection<TOutput>IEnumerable<TOutput>
- Inherited Members
Constructors
ProjectedList(TContext, IList<TInput>, Func<TContext, TInput, TOutput>)
public ProjectedList(TContext context, IList<TInput> input, Func<TContext, TInput, TOutput> projection)
Parameters
Properties
Count
public int Count { get; }
Property Value
this[int]
public TOutput this[int index] { get; }
Parameters
index
int
Property Value
- TOutput
Methods
GetEnumerator()
public IEnumerator<TOutput> GetEnumerator()
Returns
- IEnumerator<TOutput>