serializer
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using ClassLibraryStandard;
|
||||
using EntitiesStandard;
|
||||
|
||||
namespace Service
|
||||
{
|
||||
@ -33,8 +34,6 @@ namespace Service
|
||||
pr4.lastname = "Wurst4";
|
||||
parlis.Add(pr4);
|
||||
|
||||
|
||||
|
||||
while (true)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
@ -44,6 +43,9 @@ namespace Service
|
||||
int tmp = ran.Next(0, 3);
|
||||
|
||||
Console.WriteLine(parlis[tmp]);
|
||||
|
||||
XMLhelper.serializeToXML<List<Participant>>(parlis);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user