Пример #1
0
 /// <summary>
 ///     Adds the example.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="usage">The usage.</param>
 /// <param name="result">The result.</param>
 /// <returns>ParserHelpBuilder.</returns>
 public virtual ParserHelpBuilder AddExample(string name, string description, string usage, string result)
 {
     Help.AddExample(new Example
     {
         Name             = name,
         ShortDescription = description,
         Usage            = usage,
         Result           = result
     });
     return(this);
 }