port from perforce
This commit is contained in:
21
intromat/Intromat/PersistentModel/NetworkModel.cs
Normal file
21
intromat/Intromat/PersistentModel/NetworkModel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace Intromat.PersistentModel
|
||||
{
|
||||
[XmlRoot("Network", Namespace = NodeModelBase._namespace)]
|
||||
public class NetworkModel
|
||||
{
|
||||
[XmlElement]
|
||||
public NodeCollectionModel Nodes { get; set; } = new();
|
||||
|
||||
[XmlArray]
|
||||
public List<ConnectionModel> Connections { get; set; } = new();
|
||||
|
||||
[XmlArray]
|
||||
public List<NodeMetaData> MetaData { get; set; } = new();
|
||||
|
||||
[XmlArray]
|
||||
public List<NetworkModel> SubNetworks { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user