Inheritance: ICloneable
Esempio n. 1
0
 public void Awake(string[] args)
 {
     Parser.Default.ParseArguments <Options>(args)
     .WithNotParsed(error => throw new Exception($"命令行格式错误!"))
     .WithParsed(options => { Options = options; });
 }