示例#1
0
        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);
            }
        }
示例#2
0
 public void AddArgumentVerifier(ArgumentDefinition verifier) =>
 argumentDefinitions.Add(verifier);