Beispiel #1
0
 internal PipelineDeleteAction(PipelineDeleteAction template, String name, Regex regex)
     : base(template, name, regex)
 {
     skipUntil        = optReplace(regex, name, template.skipUntil);
     genericSkipUntil = this.skipUntil == "*";
     if (template.cond != null)
     {
         String x = optReplace(regex, name, template.cond.Expression);
         cond = (x == template.cond.Expression) ? template.cond : Condition.Create(x);
     }
     if (template.keySource != null)
     {
         String x = optReplace(regex, name, template.keySource.Input);
         keySource = (x == template.keySource.Input) ? template.keySource : KeySource.Parse(x);
     }
 }
Beispiel #2
0
 public PipelineDeleteTemplate(Pipeline pipeline, XmlNode node)
     : base(pipeline, node)
 {
     template = new PipelineDeleteAction(pipeline, node);
 }