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 Nc1BlockInheritance
Inherited Members
Properties
Code
The block code, two upper-case letters such as ST, AK, BO or EN.
public string Code { get; }Property Value
LineNumber
The 1-based line number of the code line.
public int LineNumber { get; }Property Value
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
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; }