public void ExecuteCommand(string name) { if (string.IsNullOrEmpty(name)) throw new ArgumentException("name"); CommandManager.DoCommand(name, null, null); }