public static void LowerContainer(AstNode astNode, LoweringContext context) { var astContainer = astNode as AstTask.AstContainerTaskNode; if (astContainer != null) { var seq = new PhysicalTask.Sequence(astContainer); context.ParentObject.Children.Add(seq); LowerConnection(astContainer.LogConnection, context); context = new TaskLoweringContext(seq); LowerChildren(astContainer, context); LowerEventHandlers(astContainer, seq, context); } }
public static void LowerContainer(AstNode astNode, LoweringContext context) { var astContainer = astNode as AstTask.AstContainerTaskNode; if (astContainer != null) { var seq = new PhysicalTask.Sequence(astContainer); context.ParentObject.Children.Add(seq); LowerConnection(astContainer.LogConnection, context); context = new TaskLoweringContext(seq); LowerChildren(astContainer, context); LowerEventHandlers(astContainer, seq, context); } }