Example #1
0
 /// <summary>
 /// Initialize
 /// </summary>
 /// <param name="name">Action name</param>
 /// <param name="actionMap">Action map</param>
 /// <param name="argumentRawOfAction">ArgumentRaw where the name of this action was found.</param>
 /// <param name="level">Position (between actions) where this action was found on the command line</param>
 public ActionParsed(string name, ActionMap actionMap, ArgumentRaw argumentRawOfAction, int level)
 {
     this.Name = name;
     this.ArgumentRawOfAction = argumentRawOfAction;
     this.ActionMap           = actionMap;
     this.argumentsRaw        = new List <ArgumentRaw>();
     this.Level = level;
 }
Example #2
0
 /// <summary>
 /// Add a argument raw
 /// </summary>
 /// <param name="argumentRaw">Argument raw</param>
 public void AddArgumentRaw(ArgumentRaw argumentRaw)
 {
     this.argumentsRaw.Add(argumentRaw);
 }
Example #3
0
 /// <summary>
 /// Add raw for this argument value
 /// </summary>
 /// <param name="raw">ArgumentRaw value</param>
 public void AddRaw(ArgumentRaw raw)
 {
     this.allRaw.Add(raw);
 }