internal static string ToSerializedValue(this RobotCommandRobotType value)
        {
            switch (value)
            {
            case RobotCommandRobotType.NonProduction:
                return("NonProduction");

            case RobotCommandRobotType.Attended:
                return("Attended");

            case RobotCommandRobotType.Unattended:
                return("Unattended");

            case RobotCommandRobotType.Studio:
                return("Studio");

            case RobotCommandRobotType.Development:
                return("Development");

            case RobotCommandRobotType.StudioX:
                return("StudioX");

            case RobotCommandRobotType.Headless:
                return("Headless");

            case RobotCommandRobotType.StudioPro:
                return("StudioPro");

            case RobotCommandRobotType.TestAutomation:
                return("TestAutomation");
            }
            return(null);
        }
示例#2
0
        internal static string ToSerializedValue(this RobotCommandRobotType value)
        {
            switch (value)
            {
            case RobotCommandRobotType.NonProduction:
                return("NonProduction");

            case RobotCommandRobotType.Attended:
                return("Attended");

            case RobotCommandRobotType.Unattended:
                return("Unattended");

            case RobotCommandRobotType.Development:
                return("Development");
            }
            return(null);
        }