Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AdjectivePhrase class.
 /// </summary>
 /// <param name="first">The first Word of the AdjectivePhrase.</param>
 /// <param name="rest">The rest of the Words comprise the AdjectivePhrase.</param>
 /// <remarks>This constructor overload reduces the syntactic overhead associated with the manual construction of Phrases.
 /// Thus, its purpose is to simplify test code.</remarks>
 public AdjectivePhrase(Word first, params Word[] rest) : this(rest.Prepend(first))
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the SimpleDeclarativeClauseBeginPhrase class.
 /// </summary>
 /// <param name="first">The first Word of the SimpleDeclarativeClauseBeginPhrase.</param>
 /// <param name="rest">The rest of the Words comprise the SimpleDeclarativeClauseBeginPhrase.</param>
 /// <remarks>This constructor overload reduces the syntactic overhead associated with the manual construction of SimpleDeclarativeClauseBeginPhrases.
 /// Thus, its purpose is to simplifiy test code.</remarks>
 public SimpleDeclarativeClauseBeginPhrase(Word first, params Word[] rest) : this(rest.Prepend(first))
 {
 }