Open Rails

STFReader.MustMatch Method

[This is preliminary documentation and subject to change.]

Reports a critical error if the next {item} does not match the target.

public void MustMatch(
   string target
);

Parameters

target
The next {item} contents we are expecting in the STF file.

Return Value

The {item} read from the STF file

See Also

STFReader Class | Orts.Parsers.Msts Namespace