Ejemplo n.º 1
0
        public static BuildPackageArgs BuildPackage(
            PackageConfiguration packageConfiguration,
            IDictionary <string, string> parameters)
        {
            var args = new BuildPackageArgs(packageConfiguration, parameters);

            CorePipeline.Run("pintle.buildPackage", args);
            return(args);
        }
Ejemplo n.º 2
0
        public static BuildPackageArgs BuildPackage(
            PackageConfiguration packageConfiguration,
            NameValueCollection parameters)
        {
            var args = new BuildPackageArgs(packageConfiguration, parameters);

            CorePipeline.Run("pintle.buildPackage", args);
            return(args);
        }
Ejemplo n.º 3
0
        protected virtual bool AbortIfErrorsDetected(BuildPackageArgs args)
        {
            if (args.Errors.Any())
            {
                args.AbortPipeline();
                return(true);
            }

            return(false);
        }
Ejemplo n.º 4
0
 public abstract void Process(BuildPackageArgs args);