public static void RestoreComponents (this ICakeContext context, FilePath solutionFile, XamarinComponentRestoreSettings settings = null) { var runner = new XamarinComponentRunner (context.FileSystem, context.Environment, context.ProcessRunner, context.Globber); runner.Restore (solutionFile, settings ?? new XamarinComponentRestoreSettings ()); }