Exemple #1
0
        public override object CreateObject(Part part)
        {
            var result = new StringBuilder();
            var words  = wordRepository.Get();

            int numberOfWordsToCreate = (int)part.Metadata.Data["Text"];

            foreach (var word in words)
            {
                result.Append(word);
                result.Append(" ");
            }

            return(result.ToString());
        }