Example #1
0
        public string SaySomething(params string[] something)
        {
            var phrase = this.GetType().Name;

            phrase = phrase + " uses " + composer.GetType().Name + ":";

            //compose things
            something.ToList().ForEach(s => phrase = composer.Compose(phrase, s));

            return(phrase);
        }