Exemple #1
0
 private void MapTerminalsInOrder(Node sourceModelNode, NationalInstruments.Dfir.Node dfirNode)
 {
     foreach (var pair in sourceModelNode.Terminals.Zip(dfirNode.Terminals))
     {
         _map.AddMapping(pair.Key, pair.Value);
     }
 }
        public void VisitNode(Node node)
        {
            var typePassthrough = node as TypePassthrough;

            if (typePassthrough != null)
            {
                var typePassthroughDfir = new Nodes.FunctionalNode(_currentDiagram, Signatures.ImmutablePassthroughType);
                _map.AddMapping(typePassthrough, typePassthroughDfir);
                _map.MapTerminalsInOrder(typePassthrough, typePassthroughDfir);
                return;
            }
            throw new NotImplementedException();
        }
Exemple #3
0
 public void VisitNode(Node node)
 {
     throw new NotImplementedException();
 }