Beispiel #1
0
        static void Main(string[] args)
        {
            if (!ArgsChecker(args))
            {
                return;
            }

            if (_inputDirectory == string.Empty)
            {
                Console.WriteLine("Enter the file path:");
                _inputDirectory = Console.ReadLine();
            }

            if (_outputDirectory == string.Empty)
            {
                Console.WriteLine("Enter endpoint:");
                _outputDirectory = Console.ReadLine();
            }

            Setting setting = new Setting(_processType, _frameworkType, _inputDirectory, _outputDirectory,
                                          _fileName, _buildAll, _buildFullOutput, _buildPartOutput, _buildCreateInput, _buildUpdateInput,
                                          _buildGetInput, _buildDeleteInput);

            if (_processType == ProcessType.Dto)
            {
                DtoBuilder.DtoBuild(setting);
            }
        }