Ejemplo n.º 1
0
 public ExecutableBinding(AstTaskflowPrecedenceConstraintsNode astTaskflowPrecedenceConstraints, AstTaskflowInputPathNode astTaskflowInput)
 {
     AstTaskflowPrecedenceConstraints = astTaskflowPrecedenceConstraints;
     AstTaskflowInput = astTaskflowInput;
 }
Ejemplo n.º 2
0
 private static string GetPrecedenceConstraintEmissionName(AstTaskflowPrecedenceConstraintsNode astTaskflowPrecedenceConstraintsNode, AstTaskflowInputPathNode astTaskflowInputPathNode)
 {
     return string.Format(
         CultureInfo.InvariantCulture,
         "__PC_{0}_{1}_{2}_{3}_{4}_{5}",
         ((AST.AstNamedNode)astTaskflowInputPathNode.OutputPath.ParentItem).Name,
         ((AST.AstNamedNode)astTaskflowInputPathNode.ParentItem.ParentItem).Name,
         (int)astTaskflowInputPathNode.EvaluationOperation,
         (int)astTaskflowInputPathNode.EvaluationValue,
         astTaskflowInputPathNode.Expression == null ? String.Empty : astTaskflowInputPathNode.Expression.GetHashCode().ToString(CultureInfo.InvariantCulture),
         (int)astTaskflowPrecedenceConstraintsNode.LogicalType);
 }