Example #1
0
        void ExtractReceiversAndValues(IEnumerable <string> input)
        {
            var extractor = new ReceiverAndValueExtractor();

            extractor.ExtractReceiversAndValues(input);
            mReceivers = extractor.Receivers;
            mValues    = extractor.Values;
        }
Example #2
0
        void FillReceiversAndValues(IEnumerable <string> switches, IEnumerable <string> configFile)
        {
            var extractor = new ReceiverAndValueExtractor();

            extractor.ExtractReceiversAndValues(switches);
            mSwitchReceiver = extractor.Receivers;
            mSwitchValues   = extractor.Values;
            extractor.ExtractReceiversAndValues(configFile);
            mConfigReceiver = extractor.Receivers;
            mConfigValues   = extractor.Values;
        }