Table of Contents

Struct CycleSplitter

Namespace
Sigil.Sound
Assembly
Sigil.Sound.Notes.dll

Walks an Sigil.Sound.Arc one cycle at a time without allocating; use it in a foreach.

public struct CycleSplitter

Inherited Members

Properties

Current

The piece found by the last Sigil.Sound.CycleSplitter.MoveNext.

public readonly Arc Current { get; }

Property Value

Arc

Methods

GetEnumerator()

Returns itself, so the splitter can be used in a foreach.

public readonly CycleSplitter GetEnumerator()

Returns

CycleSplitter

MoveNext()

Moves to the next piece, if there is one.

public bool MoveNext()

Returns

bool

True while Sigil.Sound.CycleSplitter.Current holds a piece.