public String require(Map<String,String> args, String name) {String s = args.remove(name);if (s == null) {throw new IllegalArgumentException("Configuration Error: missing parameter '" + name + "'");}return s;}
public virtual string Require(IDictionary<string, string> args, string name){string s;if (!args.TryGetValue(name, out s)){throw new System.ArgumentException("Configuration Error: missing parameter '" + name + "'");}args.Remove(name);return s;}