public static DirectoryPathCollection VSWhereLegacy(this ICakeContext context, VSWhereLegacySettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } if (settings == null) { throw new ArgumentNullException(nameof(settings)); } var legacy = new VSWhereLegacy(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(legacy.Legacy(settings)); }
protected override void RunTool() { var tool = new VSWhereLegacy(FileSystem, Environment, ProcessRunner, Tools); tool.Legacy(Settings); }