コード例 #1
0
        public override IEnumerable <Argument> GetArguments()
        {
            List <Argument> args = new List <Argument>();

            args.Add(ArgumentHelper.ArgumentFactory(nameof(SelectedInputFormat), SelectedInputFormat.ToString()));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(Response), Response));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(SubjectFactor), SubjectFactor));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(TimeFactor), TimeFactor));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(Responses), Responses));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(NumericalTimePoints), NumericalTimePoints));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(IncludeAllVariables), IncludeAllVariables));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(SelectedVariables), SelectedVariables));
            args.Add(ArgumentHelper.ArgumentFactory(nameof(AUCOutput), AUCOutput.ToString()));

            return(args);
        }
コード例 #2
0
        public override string GetCommandLineArguments()
        {
            ArgumentFormatter argFormatter = new ArgumentFormatter();
            StringBuilder     arguments    = new StringBuilder();

            arguments.Append(" " + argFormatter.GetFormattedArgument(SelectedInputFormat.ToString())); //4

            arguments.Append(" " + argFormatter.GetFormattedArgument(Response, true));                 //5
            arguments.Append(" " + argFormatter.GetFormattedArgument(SubjectFactor, true));            //6
            arguments.Append(" " + argFormatter.GetFormattedArgument(TimeFactor, true));               //7
            arguments.Append(" " + argFormatter.GetFormattedArgument(Responses));                      //8
            arguments.Append(" " + argFormatter.GetFormattedArgument(NumericalTimePoints));            //9
            arguments.Append(" " + argFormatter.GetFormattedArgument(IncludeAllVariables));            //10
            arguments.Append(" " + argFormatter.GetFormattedArgument(SelectedVariables));              //11
            arguments.Append(" " + argFormatter.GetFormattedArgument(AUCOutput.ToString()));           //12

            return(arguments.ToString().Trim());
        }