Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Recognition / SemanticResultValue.cs / 1 / SemanticResultValue.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System.Collections.Generic; using System.Diagnostics; using System.Speech.Internal.GrammarBuilding; using System.Speech.Internal; namespace System.Speech.Recognition { ////// /// [DebuggerDisplay ("{_tag.DebugSummary}")] public class SemanticResultValue { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors ////// TODOC /// /// public SemanticResultValue (object value) { Helpers.ThrowIfNull (value, "value"); _tag = new TagElement (value); } ////// TODOC /// /// /// public SemanticResultValue (string phrase, object value) { Helpers.ThrowIfEmptyOrNull (phrase, "phrase"); Helpers.ThrowIfNull (value, "value"); _tag = new TagElement (new GrammarBuilderPhrase ((string) phrase.Clone ()), value); } ////// TODOC /// /// /// public SemanticResultValue (GrammarBuilder builder, object value) { Helpers.ThrowIfNull (builder, "builder"); Helpers.ThrowIfNull (value, "value"); _tag = new TagElement (builder.Clone (), value); } #endregion //******************************************************************** // // Public Methods // //******************************************************************* #region Public Methods ////// TODOC /// ///public GrammarBuilder ToGrammarBuilder () { return new GrammarBuilder (this); } #endregion //******************************************************************** // // Internal Properties // //******************************************************************** #region Internal Properties /// /// /// internal TagElement Tag { get { return _tag; } } #endregion //******************************************************************* // // Private Fields // //******************************************************************** #region Private Fields private TagElement _tag; #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Wildcard.cs
- JsonReader.cs
- JsonFormatWriterGenerator.cs
- ParallelTimeline.cs
- OdbcConnectionHandle.cs
- ToggleButtonAutomationPeer.cs
- CodeTypeReferenceCollection.cs
- ComPlusDiagnosticTraceRecords.cs
- SkinBuilder.cs
- SecurityDocument.cs
- TextServicesCompartment.cs
- TypeConverter.cs
- SystemPens.cs
- ValueOfAction.cs
- IFlowDocumentViewer.cs
- HostedTransportConfigurationBase.cs
- EntityViewGenerationConstants.cs
- DocComment.cs
- ObjectMemberMapping.cs
- BitmapEffectGroup.cs
- AlgoModule.cs
- DataSourceCache.cs
- ConfigXmlElement.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ConfigWriter.cs
- DelegateSerializationHolder.cs
- QilCloneVisitor.cs
- RangeBase.cs
- BackEase.cs
- XmlNodeReader.cs
- RegisteredDisposeScript.cs
- SessionState.cs
- AuthenticationException.cs
- EqualityComparer.cs
- RegexGroupCollection.cs
- ToolStripContextMenu.cs
- Completion.cs
- SystemSounds.cs
- SQLInt16.cs
- CultureInfoConverter.cs
- StreamUpdate.cs
- OdbcDataAdapter.cs
- JpegBitmapEncoder.cs
- IResourceProvider.cs
- ResourcePermissionBaseEntry.cs
- OdbcInfoMessageEvent.cs
- MediaSystem.cs
- HttpDebugHandler.cs
- SoapMessage.cs
- AuthorizationSection.cs
- WeakReferenceEnumerator.cs
- DataKeyArray.cs
- WebReferencesBuildProvider.cs
- Oid.cs
- BrushConverter.cs
- ToolStripManager.cs
- RegexReplacement.cs
- FileRecordSequenceHelper.cs
- Metadata.cs
- RoutedEventHandlerInfo.cs
- TypeToken.cs
- SecuritySessionClientSettings.cs
- MatrixCamera.cs
- CopyAction.cs
- Cursors.cs
- ReadingWritingEntityEventArgs.cs
- MenuAdapter.cs
- XmlSchemaObjectCollection.cs
- TransactionBehavior.cs
- AsymmetricAlgorithm.cs
- Run.cs
- OletxDependentTransaction.cs
- TextStore.cs
- UserControlBuildProvider.cs
- ClientBuildManagerCallback.cs
- MissingSatelliteAssemblyException.cs
- ProcessInfo.cs
- CompilationUtil.cs
- DelegatingTypeDescriptionProvider.cs
- BufferedStream.cs
- CodeBinaryOperatorExpression.cs
- GradientBrush.cs
- BuildProviderUtils.cs
- mediaeventshelper.cs
- ServiceDescriptionReflector.cs
- UserMapPath.cs
- MaskInputRejectedEventArgs.cs
- OutOfProcStateClientManager.cs
- SamlSubjectStatement.cs
- ExpressionLexer.cs
- CodeThrowExceptionStatement.cs
- FileDataSourceCache.cs
- SqlProvider.cs
- CustomAttributeBuilder.cs
- CompositeDuplexBindingElementImporter.cs
- MarkupExtensionParser.cs
- EmptyControlCollection.cs
- ColorPalette.cs
- BatchServiceHost.cs
- PageAsyncTask.cs