Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Callflows" /> class.
 /// </summary>
 /// <param name="featurecode">featurecode.</param>
 /// <param name="flags">Flags set by external applications.</param>
 /// <param name="flow">A callflow node defines a module to execute, data to provide to that module, and zero or more children to branch to.</param>
 /// <param name="metaflow">Actions applied to a call outside of the normal callflow, initiated by the caller(s).</param>
 /// <param name="numbers">A list of static numbers that the callflow should execute for.</param>
 /// <param name="patterns">A list of regular expressions that the callflow should execute for, with optional capture groups.</param>
 public Callflows(CallflowsFeaturecode featurecode = default(CallflowsFeaturecode), List <string> flags = default(List <string>), CallflowsAction flow = default(CallflowsAction), Metaflows metaflow = default(Metaflows), List <string> numbers = default(List <string>), List <string> patterns = default(List <string>))
 {
     this.Featurecode = featurecode;
     this.Flags       = flags;
     this.Flow        = flow;
     this.Metaflow    = metaflow;
     this.Numbers     = numbers;
     this.Patterns    = patterns;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MetaflowsCallflow" /> class.
 /// </summary>
 /// <param name="captures">Callflow extension.</param>
 /// <param name="collected">Callflow extension.</param>
 /// <param name="flow">include the flow you&#39;d like to run (Pivot without the HTTP interaction).</param>
 /// <param name="id">The callflow ID to run.</param>
 public MetaflowsCallflow(string captures = default(string), string collected = default(string), CallflowsAction flow = default(CallflowsAction), string id = default(string))
 {
     this.Captures  = captures;
     this.Collected = collected;
     this.Flow      = flow;
     this.Id        = id;
 }