Esempio n. 1
0
 internal void LinkScreenToNode(TopAdlibObject adlibObject, AdlibNode node, string screen, AdlibEdgeType edgeType)
 {
     if (!string.IsNullOrWhiteSpace(screen))
     {
         var path = ScreenPath(adlibObject, screen);
         if (screens.ContainsKey(path))
         {
             AddEdge(node, edgeType, screens[path]);
         }
     }
 }
Esempio n. 2
0
 string ScreenPath(TopAdlibObject adlibObject, string screenPath) => ScreenPath(Path.Combine(Path.GetDirectoryName(adlibObject.PhysicalPath), screenPath));