public ArgumentsProcessor NewArgumentsProcessor(
            IList <ArgumentConfiguration> argumentConfiguration
            )
        {
            ArgumentsProcessorImpl processor = new ArgumentsProcessorImpl();

            processor.ArgumentsConfiguration = argumentConfiguration;
            return(processor);
        }
示例#2
0
        public void TestProcess()
        {
            IList <string> parameters = (IList <string>) this.Ctx.GetObject("Parameters");
            IList <ArgumentConfiguration> argumentsConfiguration = (IList <ArgumentConfiguration>) this.Ctx.GetObject("ArgumentsConfiguration");

            ArgumentsProcessorImpl argumentsProcessor = new ArgumentsProcessorImpl();

            argumentsProcessor.ArgumentsConfiguration = argumentsConfiguration;
            argumentsProcessor.Parameters             = parameters;

            argumentsProcessor.Process();
        }