示例#1
0
        public static ArgumentProcessor GetInstance()
        {
            if (_instance == null)
            {
                _instance = new ArgumentProcessor();
            }

            return(_instance);
        }
示例#2
0
        static void Main(string[] args)
        {
            ArgumentProcessor argCompiler = ArgumentProcessor.GetInstance();

            argCompiler.SetArguments(args);
            Console.WriteLine(argCompiler.ToString());

            WrapRequest wrapRequest = argCompiler.GetRequest();

            Console.WriteLine("Application Wrap Request: {0}", wrapRequest.ToString());

            Builder.BuildObjects(wrapRequest, NewCodeMaker.GenerateNewCode(wrapRequest));
        }