Ejemplo n.º 1
0
        public static DirectoryPathCollection VSWhereAll(this ICakeContext context, VSWhereAllSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            var all = new VSWhereAll(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(all.All(settings));
        }
        protected override void RunTool()
        {
            var tool = new VSWhereAll(FileSystem, Environment, ProcessRunner, Tools);

            tool.All(Settings);
        }