示例#1
0
 public bool TryGetSwitch(params string[] option_names)
 {
     return(Switches.Any(x => option_names.Contains(x)));
 }
示例#2
0
 public bool AnySwitch(params string[] names)
 {
     return(names.Any(name => Switches.Any(s => _switchNameComparer.Equals(s.Name, name))));
 }