Exemplo n.º 1
0
        public ConsoleArgsState(string[] args)
        {
            ArgFinder finder = new ArgFinder();
            _findResult = finder.FindAllArgs(Assembly.GetEntryAssembly());

            ConsoleParser parser = new ConsoleParser();
            _parseResult = parser.ParseArgs(args);

            ArgAssigner assigner = new ArgAssigner();
            _assignResult = assigner.AssignValues(_findResult, _parseResult);
        }
Exemplo n.º 2
0
 public void SetUp()
 {
     _assigner = new ArgAssigner();
     _valueClass = new ValueClass();
 }