Пример #1
0
 public BeeOpts(char?opt, string optLong, OPTTYPE type, string desc, OnOption OnOptionCallback)
 {
     this.opt              = opt;
     this.optLong          = optLong;
     this.desc             = desc;
     this.type             = type;
     this.OnOptionCallback = OnOptionCallback;
 }
Пример #2
0
 public BeeOptsBuilder Add(char opt, string optLong, OPTTYPE type, string desc, OnOption OptionCallback)
 {
     _data.Add(new BeeOpts(opt, optLong, type, desc, OptionCallback));
     return(this);
 }