ABB.Swum.Nodes.PhraseNode.PhraseNode C# (CSharp) Method

PhraseNode() public method

Creates a new PhraseNode that contains the words resulting from splitting the given identifier.
public PhraseNode ( string id, IdSplitter splitter ) : System
id string A program identifier.
splitter ABB.Swum.IdSplitter An IdSplitter to split the given identifier into words.
return System
        public PhraseNode(string id, IdSplitter splitter)
            : this() {
            string[] words;
            if(splitter != null) {
                words = splitter.Split(id);
            } else {
                words = new string[] { id };
            }

            InitWords(words);
        }

Same methods

PhraseNode::PhraseNode ( ) : System
PhraseNode::PhraseNode ( IEnumerable words, Location location, bool containsPreposition ) : System
PhraseNode::PhraseNode ( IEnumerable words ) : System