NodeAssets.Core.Commands.NodeExecutor.ExecuteCoffeeFile C# (CSharp) Method

ExecuteCoffeeFile() public method

public ExecuteCoffeeFile ( FileInfo file ) : CommandResult
file System.IO.FileInfo
return CommandResult
        public CommandResult ExecuteCoffeeFile(FileInfo file)
        {
            if (file == null) { throw new ArgumentNullException("file"); }
            if (!file.Exists) { throw new ArgumentException("File '" + file.Name + "' does not exist"); }

            return ExecuteCoffeeCommand(file.FullName);
        }