From a36c29029a493ce339edc1c340e7bdcc9e5097e0 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 15 May 2018 07:23:00 -0500 Subject: [PATCH] Minor fix to allow serialization of network link and network device --- EduNetworkBuilder/NetworkComponent.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetworkComponent.cs b/EduNetworkBuilder/NetworkComponent.cs index 823e992..1797a65 100644 --- a/EduNetworkBuilder/NetworkComponent.cs +++ b/EduNetworkBuilder/NetworkComponent.cs @@ -8,10 +8,12 @@ using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization; using System.IO; using System.Xml; - +using System.Xml.Serialization; namespace EduNetworkBuilder { + [XmlInclude(typeof(NetworkLink))] + [XmlInclude(typeof(NetworkDevice))] [Serializable] public class NetworkComponent {