Class AlertCatalogueReader
- Namespace
- EncDotNet.S100.Portrayals
- Assembly
- EncDotNet.S100.Portrayals.dll
Reads an S-100 alert catalogue XML file (S-100 Part 9 ยง9-17, the
S100AlertCatalog schema) into an AlertCatalogue.
public static class AlertCatalogueReader
- Inheritance
-
AlertCatalogueReader
- Inherited Members
Remarks
Elements are matched by local name, so any edition of the alert catalogue namespace is read. Unknown priorities are skipped, and a use with none falls back to Indication.
Methods
Read(Stream)
Reads an alert catalogue from a stream.
public static AlertCatalogue Read(Stream stream)
Parameters
streamStreamThe alert catalogue XML.
Returns
- AlertCatalogue
The alert catalogue.
Exceptions
- XmlException
The stream isn't an alert catalogue.