Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanstapel authored Jul 22, 2023
1 parent a082fdb commit 66679ca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,17 @@ The demo solution shows you how to use the parser:

```
string path = "iftsta-file.txt";
List<IFTSTAConsigment> consigments = IFTSTAParser.Load(path);
IFTSTADocument document = IFTSTAParser.Load(path);
if (document.CreationDate.HasValue)
{
// process header information
}
foreach(IFTSTAConsigment consigment in document.Consigments)
{
// process consignment
}
```

which will then deliver you the list of consigment objects in the original file.
Expand Down

0 comments on commit 66679ca

Please sign in to comment.