예제 #1
0
 private static void ExpandNodes(File file, ICollection <NetworkMapFile> nodes)
 {
     foreach (var node in file.Network.Nodes)
     {
         AddSource(nodes, node.SourceType, node.Host, node.Ip, node.SourceStart, node.SourceEnd, false, file.Path);
     }
 }
예제 #2
0
 private static NetworkMapFile AddFileAsNode(File file, ICollection <NetworkMapFile> nodes, bool selected)
 {
     return(AddSource(nodes, file.SourceType, file.Host, file.Ip, file.Start, file.End, selected, file.Path));
 }