SegmentLineEnumerator Class
An enumerator for
SegmentLine
collections.
public sealed class SegmentLineEnumerator : IEnumerable<Segment>, IEnumerable
- Namespace
- Spectre
.Console .Rendering - Interfaces
-
- IEnumerable
<Segment> - IEnumerable
- IEnumerable
Constructors
-
Segment
Line Enumerator (IEnumerable <SegmentLine> ) -
Initializes a new instance of the
SegmentLineEnumerator
class.
Methods
-
IEnumerator<Segment> GetEnumerator
()
Extension Methods
-
T And
< Segment Line Enumerator> (Action < Segment Line Enumerator> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.