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
- ToolbarAUtomationPeer.cs
- ContentPresenter.cs
- ProcessInfo.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- BrowserInteropHelper.cs
- SelectionManager.cs
- MethodImplAttribute.cs
- MdImport.cs
- bidPrivateBase.cs
- CompositeFontInfo.cs
- PaintEvent.cs
- Walker.cs
- DetailsViewPagerRow.cs
- ScrollItemPatternIdentifiers.cs
- PrivateFontCollection.cs
- StatusBar.cs
- Visual3D.cs
- BuiltInExpr.cs
- ColumnProvider.cs
- GridView.cs
- ReceiveActivity.cs
- RegularExpressionValidator.cs
- ToolStripSettings.cs
- SharedPerformanceCounter.cs
- SHA256.cs
- MetricEntry.cs
- PostBackTrigger.cs
- SqlConnectionHelper.cs
- InstanceData.cs
- ExpandButtonVisibilityConverter.cs
- AnnotationResourceCollection.cs
- DataGridViewCellParsingEventArgs.cs
- ProtocolsConfigurationEntry.cs
- FontStyleConverter.cs
- AssociationType.cs
- x509store.cs
- XmlSerializationWriter.cs
- XsltLibrary.cs
- FamilyTypefaceCollection.cs
- FixedSOMImage.cs
- XPathPatternBuilder.cs
- ScrollProperties.cs
- CodePageUtils.cs
- RecordManager.cs
- RadioButtonFlatAdapter.cs
- _NestedMultipleAsyncResult.cs
- TableColumn.cs
- HMACSHA256.cs
- PerformanceCounterPermissionAttribute.cs
- RuleProcessor.cs
- CodeNamespaceCollection.cs
- ReferenceSchema.cs
- ActivityTrace.cs
- ConnectionPoolManager.cs
- HttpApplicationFactory.cs
- ClientTarget.cs
- CroppedBitmap.cs
- TimeStampChecker.cs
- TraceHelpers.cs
- SendActivity.cs
- SqlNotificationRequest.cs
- StrokeIntersection.cs
- AnyAllSearchOperator.cs
- Grid.cs
- BuildManager.cs
- ToolStripStatusLabel.cs
- DockEditor.cs
- TimeSpan.cs
- VectorCollection.cs
- LinkConverter.cs
- Intellisense.cs
- TimersDescriptionAttribute.cs
- TextBoxLine.cs
- DefaultSerializationProviderAttribute.cs
- XmlAnyElementAttributes.cs
- TypeNameConverter.cs
- TransformConverter.cs
- TextProperties.cs
- PersonalizationProviderCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- GridSplitterAutomationPeer.cs
- Trace.cs
- DoubleStorage.cs
- ResourceDescriptionAttribute.cs
- CheckBoxField.cs
- OleDbErrorCollection.cs
- CallInfo.cs
- ObservableCollection.cs
- Material.cs
- GeneratedCodeAttribute.cs
- XmlILTrace.cs
- Int64Converter.cs
- DuplicateWaitObjectException.cs
- ListDictionary.cs
- ResourceExpression.cs
- SelectorAutomationPeer.cs
- BindableTemplateBuilder.cs
- Clock.cs
- StringSorter.cs
- RegexBoyerMoore.cs