Пример #1
0
        static void Main(string[] args)
        {
            // check out the use of NClap
            MyProgramArguments programArgs;

            if (!CommandLineParser.TryParse(args, out programArgs))
            {
                return;
            }

            return;

            var orderProcessor = new OrderProcessor(new ShippingCalculator());
            var order          = new Order {
                DatePlaced = DateTime.Now, TotalPrice = 100f
            };

            orderProcessor.Process(order);


            Console.ReadKey();
        }