예제 #1
0
        public NamingConverter_Test()
        {
            var paramters = new Dictionary <String, object> {
                { DefaultTokenizer.IGNORE_PREFIX_KEY, "T_" },
                { DefaultTokenizer.DELIMITER_KEY, "_" }
            };

            _defaultTokenizer.Initialize(paramters);
        }
예제 #2
0
        public List <ConfigObject> Extract(string configFilePath)
        {
            var debinarizedConfig = _configLoader.Load(configFilePath);

            _tokenizer.Initialize(debinarizedConfig);
            var tokenizedConfig = _tokenizer.Tokenize().ToList();

            var result = _converter.Convert(tokenizedConfig);

            return(result);
        }