protected override void RunTool() { var adminRunner = new VirtualBoxRunner(FileSystem, Environment, ProcessRunner, Tools, Settings); ToolResult = adminRunner.List(); }
public static IReadOnlyList <VirtualMachine> ListVirtualBoxEmulators(this ICakeContext context, VirtualBoxSettings settings) { var runner = new VirtualBoxRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, settings); return(runner.List().ToList().AsReadOnly()); }