public void RemoveArgumentVerifier(ArgumentDefinition verifier) { var verifiersToRemove = from v in argumentDefinitions where v.ArgumentSwitch == verifier.ArgumentSwitch select v; foreach (var v in verifiersToRemove) { argumentDefinitions.Remove(v); } }
public void AddArgumentVerifier(ArgumentDefinition verifier) => argumentDefinitions.Add(verifier);