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