ABB.Swum.Nodes.PhraseNode.GetPhrase C# (CSharp) Méthode

GetPhrase() public méthode

Returns a list of the words in the phrase.
public GetPhrase ( ) : Collection
Résultat Collection
        public Collection<WordNode> GetPhrase() {
            return new Collection<WordNode>(this.Words);
        }

Usage Example

 /// <summary>
 /// Concatenates the supplied phrase to the end of the current phrase.
 /// </summary>
 /// <param name="phrase">The phrase to add.</param>
 public void Add(PhraseNode phrase)
 {
     if (phrase != null)
     {
         Words.AddRange(phrase.GetPhrase());
     }
 }
All Usage Examples Of ABB.Swum.Nodes.PhraseNode::GetPhrase