public static DirectoryPath VSWhereLatest(this ICakeContext context, VSWhereLatestSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } var latest = new VSWhereLatest(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(latest.Latest(settings)); }
public static DirectoryPath VSWhereLatest(this ICakeContext context) { var settings = new VSWhereLatestSettings(); return(VSWhereLatest(context, settings)); }