Minor fix to allow serialization of network link and network device
This commit is contained in:
1 parent
d5340507fa
commit
a36c29029a
1 file changed
+3
-1
@@ -8,10 +8,12 @@ using System.Runtime.Serialization.Formatters.Binary;
|
|||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace EduNetworkBuilder
|
namespace EduNetworkBuilder
|
||||||
{
|
{
|
||||||
|
[XmlInclude(typeof(NetworkLink))]
|
||||||
|
[XmlInclude(typeof(NetworkDevice))]
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class NetworkComponent
|
public class NetworkComponent
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user