GrammarBuilder.Add Method

Returns a new instance of GrammarBuilder constructed by appending pairs the grammar definition objects Choices, GrammarBuilder, and System.String.

Name Description
GrammarBuilder.Add (Choices, GrammarBuilder) Returns a new instance of GrammarBuilder constructed from by appending the grammar logic of a GrammarBuilder instance to the grammar logic of a Choices object.
GrammarBuilder.Add (GrammarBuilder, Choices) Returns a new instance of GrammarBuilder constructed from by appending the grammar logic of a Choices instance to the grammar logic of a GrammarBuilder object.
GrammarBuilder.Add (GrammarBuilder, GrammarBuilder) Returns a new instance of GrammarBuilder constructed from by appending the grammar logic of two GrammarBuilder instances.
GrammarBuilder.Add (GrammarBuilder, String) Returns a new instance of GrammarBuilder constructed from by appending a phrase to the grammar logic of a GrammarBuilder instance
GrammarBuilder.Add (String, GrammarBuilder) Returns a new instance of GrammarBuilder constructed from by appending the grammar logic of a GrammarBuilder instance to a phrase.

The order of arguments provided to any overload of Add is the one in which their grammar logic is evaluated.

NoteNote:

Because GrammarBuilder support implicit conversions from SemanticResultValue and SemanticResultKey, these may be cast to use as arguments for any over load that take GrammarBuilder as an argument.

Show: