Esempio n. 1
0
        public string Beautify(string input, Language from, Language to)
        {
            var output            = new StringBuilder();
            var characterResolver = new CharacterResolver(from, to);

            foreach (var character in input)
            {
                var beautyCharacter = characterResolver.Resolve(character);
                output.Append(beautyCharacter);
            }

            return(output.ToString());
        }