public static ArgumentProcessor GetInstance() { if (_instance == null) { _instance = new ArgumentProcessor(); } return(_instance); }
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)); }