Example #1
0
        internal Word AddWord(string title)
        {
            Contract.Requires(title != null);

            var word = new Word(title);

            // use created word if possible
            word = CreatedWordsManager.GetSameWordFromCreated(word) ?? word;

            this.Send(Event.EditWord, word.AsParams(MessageKeys.Word));
            return(word);
        }