public static void StrongNameVerify(this ICakeContext context, FilePath assembly, StrongNameToolSettings settings)
        {
            if (assembly == null)
            {
                throw new ArgumentNullException("assembly");
            }
            var paths = new[] { assembly };

            StrongNameVerify(context, paths, settings);
        }
        public static void StrongNameVerify(this ICakeContext context, IEnumerable <FilePath> assemblies, StrongNameToolSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            if (assemblies == null)
            {
                throw new ArgumentNullException("assemblies");
            }
            if (settings == null)
            {
                throw new ArgumentNullException("settings");
            }

            var runner = new StrongNameToolRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Registry);

            foreach (var assembly in assemblies)
            {
                runner.Run("verify", assembly, settings);
            }
        }
 public static void StrongNameVerify(this ICakeContext context, string assembly, StrongNameToolSettings settings)
 {
     if (assembly == null)
     {
         throw new ArgumentNullException("assembly");
     }
     StrongNameVerify(context, new FilePath(assembly), settings);
 }
        public static void StrongNameVerify(this ICakeContext context, IEnumerable <string> assemblies, StrongNameToolSettings settings)
        {
            if (assemblies == null)
            {
                throw new ArgumentNullException("assemblies");
            }
            var paths = assemblies.Select(p => new FilePath(p));

            StrongNameVerify(context, paths, settings);
        }