SegmentLineIterator Class

An iterator for SegmentLine collections.
public sealed class SegmentLineIterator : IEnumerator<Segment>, IDisposable, IEnumerator
Interfaces
  • IEnumerator<Segment>
  • IDisposable
  • IEnumerator

Constructors

SegmentLineIterator(IEnumerable<SegmentLine>)
Initializes a new instance of the SegmentLineIterator class.

Properties

Segment Current
Gets the current segment.

Methods

void Dispose()
bool MoveNext()
void Reset()

Extension Methods

T And<SegmentLineIterator>(Action<SegmentLineIterator>)
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.