コード例 #1
0
 internal PipelineFieldAction(PipelineFieldAction template, String name, Regex regex)
     : base(template, name, regex)
 {
     this.toField        = optReplace(regex, name, template.toField);
     this.toVar          = optReplace(regex, name, template.toVar);
     this.fromVar        = optReplace(regex, name, template.fromVar);
     this.fromField      = optReplace(regex, name, template.fromField);
     this.fromValue      = optReplace(regex, name, template.fromValue);
     this.toFieldFromVar = optReplace(regex, name, template.toFieldFromVar);
     this.sep            = template.sep;
     this.fieldFlags     = template.fieldFlags;
     this.fieldSource    = template.fieldSource;
     toFieldReal         = toField == "*" ? null : toField;
 }
コード例 #2
0
 public PipelineFieldTemplate(Pipeline pipeline, XmlNode node)
     : base(pipeline, node)
 {
     template = new PipelineFieldAction(pipeline, node);
 }