Class Grouped<TSource>
Represents a group of elements from GroupUntil<TSource>(IEnumerable<TSource>, Func<TSource, Boolean>, Boolean) or GroupWhile<TSource>(IEnumerable<TSource>, Func<TSource, Boolean, GroupWhileAction>).
Inheritance
System.Object
Grouped<TSource>
Implements
System.Collections.Generic.IEnumerable<TSource>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fluency.Execution.Parsing
Assembly: Execution.dll
Syntax
public class Grouped<TSource> : IEnumerable<TSource>, IEnumerable
Type Parameters
| Name | Description |
|---|---|
| TSource |
Constructors
| Improve this Doc View SourceGrouped(List<TSource>, Int32, Int32)
Construct a new group.
Declaration
public Grouped(List<TSource> source, int startIndex, int endIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<TSource> | source | |
| System.Int32 | startIndex | |
| System.Int32 | endIndex |
Properties
| Improve this Doc View SourceIndexes
The inclusive range of indexes this group was taken from.
Declaration
public SourceRange Indexes { get; set; }
Property Value
| Type | Description |
|---|---|
| SourceRange |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable<TSource>.GetEnumerator()
Declaration
IEnumerator<TSource> IEnumerable<TSource>.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<TSource> |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable