/// <summary> /// method for executing the command /// </summary> /// <param name="args">command's arguments</param> /// <param name="result">the result of command execution</param> /// <returns></returns> public string Execute(string[] args, out bool result) { return(modal.AddFile(args, out result)); }
/// <summary> /// ICommand Method. Runs the AddFile Command on the provided args. /// </summary> /// <param name="args">List<String> the necessary arguments for the ICommand execution </param> /// <param name="result">boolean, if the File was added and the Thumbail created succesfully or not</param> /// <returns>The String Will Return the New Path if result = true, else will return the error message</returns> public string Execute(List <String> args, out bool result) { return(imageModal.AddFile(args, out result)); }