Esempio n. 1
0
        static int Main(string[] args)
        {
            CanvasCommon.Utilities.LogCommandLine(args);
            CanvasNormalizeParameters parameters = CanvasNormalizeParameters.ParseCommandLine(args);

            if (parameters == null)
            {
                return(1);
            }
            return(CanvasNormalize.Run(parameters));
        }
Esempio n. 2
0
        static int Main(string[] args)
        {
            CanvasCommon.Utilities.LogCommandLine(args);
            CanvasNormalizeParameters parameters = CanvasNormalizeParameters.ParseCommandLine(args);

            if (parameters == null)
            {
                return(1);
            }

            CanvasNormalizeFactory factory = new CanvasNormalizeFactory(parameters);

            return(new CanvasNormalize(factory.GetReferenceGenerator(), factory.GetRatioCalculator())
                   .Run(parameters));
        }