Exemplo n.º 1
0
        private void AddLanguage(StringBuilder args, WorkerRuntime workerRuntime)
        {
            switch (workerRuntime)
            {
            case WorkerRuntime.DotNet:
                OryxArgumentsHelper.AddLanguage(args, "dotnet");
                break;

            case WorkerRuntime.Node:
                OryxArgumentsHelper.AddLanguage(args, "nodejs");
                break;

            case WorkerRuntime.Python:
                OryxArgumentsHelper.AddLanguage(args, "python");
                break;
            }
        }
        protected void AddLanguage(StringBuilder args, WorkerRuntime workerRuntime)
        {
            switch (workerRuntime)
            {
            case WorkerRuntime.DotNet:
                Language = Framework.DotNETCore;
                OryxArgumentsHelper.AddLanguage(args, "dotnet");
                break;

            case WorkerRuntime.Node:
                Language = Framework.NodeJs;
                OryxArgumentsHelper.AddLanguage(args, "nodejs");
                break;

            case WorkerRuntime.Python:
                Language = Framework.Python;
                OryxArgumentsHelper.AddLanguage(args, "python");
                break;
            }
        }