Table of Contents

Class Nc1Block

Namespace
TdbIO
Assembly
TdbIO.dll

One block of a DSTV NC file: a line with a two-letter code and the lines up to the next code.

public sealed class Nc1Block

Inheritance

Inherited Members

Properties

Code

The block code, two upper-case letters such as ST, AK, BO or EN.

public string Code { get; }

Property Value

string

LineNumber

The 1-based line number of the code line.

public int LineNumber { get; }

Property Value

int

Lines

The parsed body lines of AK and BO blocks; empty for ST, EN and unknown codes, whose lines are kept only in TdbIO.Nc1Block.RawLines.

public IReadOnlyList<Nc1Line> Lines { get; }

Property Value

IReadOnlyList<Nc1Line>

RawLines

The body lines as written, without line breaks. Joining the code and these lines of every block with CR LF, plus a final CR LF, gives the file back.

public IReadOnlyList<string> RawLines { get; }

Property Value

IReadOnlyList<string>