public new void Execute(FigaroContext context, string args) { try { if (args.ToLower().Equals("on")) { context.SetDocumentProjection(true); } else if (args.ToLower().Equals("off")) { context.SetDocumentProjection(false); } else { throw new ValidationException("command only accepts 'on' or 'off' as a parameter."); } return; } catch (ValidationException ve) { Warn(ve.Message); WarnUsage(); return; } }