Exemplo n.º 1
0
        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));
        }
        protected override void RunTool()
        {
            var tool = new VSWhereLatest(FileSystem, Environment, ProcessRunner, Tools);

            tool.Latest(Settings);
        }