BuildServerUploaderConsole.Program.Main C# (CSharp) Метод

Main() статический приватный Метод

static private Main ( string args ) : void
args string
Результат void
        static void Main(string[] args)
        {
            // We used to send emails on an error
            // but now the build server does this automatically
            // so we don't have to.
            FileManager.PreserveCase = true;

            _defaultDirectory = Directory.GetCurrentDirectory();

            if (args.Length > 0)
            {
                switch (args[0])
                {
                    case CommandLineCommands.Upload:
                        CreateUploadProcessSteps(args[1]);
                        break;
                    case CommandLineCommands.ChangeVersion:
                        CreateChangeVersionProcessSteps();
                        break;
                    case CommandLineCommands.CopyToFrbdkInstallerTool:
                        CreateCopyToInstallerSteps(false);
                        break;
                    case CommandLineCommands.CopyDllsToTemplates:
                        CreateCopyToTemplatesSteps();
                        break;
                    case "":
                        break;
                    default:
                        CreateUploadProcessSteps("DailyBuild");
                        break;
                }

                
            }
            else
            {
                CreateCopyToInstallerSteps(true);
            }

            ExecuteSteps();
            
        }