public void Execute(ICollection <string> args) { if (args.Count > 0 && cmdHelper.IsMethodExist(this, args.ToList()[0])) { cmdHelper.ExecuteMethod(this, args); return; } ch.WriteLine("Need some args", ConsoleColor.Red); }
public void Execute(ICollection <string> args) { if (args.Count > 0 && cmdHelper.IsMethodExist(this, args.ToList()[0])) { cmdHelper.ExecuteMethod(this, args); return; } ExecuteCdCommandWithOutArgs(args); }