Class Parser
Parses a configuration file into configuration document.
Implements
Namespace: ABB.Robotics.Controllers.Configuration
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class Parser : IDisposable
Constructors
Parser(Stream)
Initializes a parser object.
Declaration
public Parser(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream to parse. |
Parser(String)
Initializes a parser object.
Declaration
public Parser(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The file to open. |
Methods
Dispose()
Disposes the current object.
Declaration
public void Dispose()
Parse()
Parses the data into a Document.
Declaration
public Document Parse()
Returns
Type | Description |
---|---|
Document | The document. |