Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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. // //----------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Int32Rect.cs
- MtomMessageEncoder.cs
- DefaultTextStoreTextComposition.cs
- ParentUndoUnit.cs
- SBCSCodePageEncoding.cs
- DocumentGridPage.cs
- ApplicationTrust.cs
- ToolStripPanelCell.cs
- IntegerValidator.cs
- BlurBitmapEffect.cs
- TraceHandler.cs
- ParseHttpDate.cs
- DefaultShape.cs
- ArrayTypeMismatchException.cs
- SelectionItemProviderWrapper.cs
- OdbcConnectionStringbuilder.cs
- TaiwanCalendar.cs
- MetadataItem_Static.cs
- IntAverageAggregationOperator.cs
- DefaultPropertyAttribute.cs
- VisualBrush.cs
- Timer.cs
- TypeUtil.cs
- RangeBase.cs
- CustomLineCap.cs
- coordinatorscratchpad.cs
- DataGridViewColumn.cs
- SuppressMergeCheckAttribute.cs
- QilLiteral.cs
- SerTrace.cs
- DataGridViewCheckBoxCell.cs
- HebrewNumber.cs
- ConversionContext.cs
- DateTimeStorage.cs
- Journal.cs
- ConsumerConnectionPointCollection.cs
- StylusPoint.cs
- BinaryWriter.cs
- InternalDuplexBindingElement.cs
- HashJoinQueryOperatorEnumerator.cs
- BitmapPalettes.cs
- DesignerToolStripControlHost.cs
- RSAOAEPKeyExchangeDeformatter.cs
- CalendarDataBindingHandler.cs
- Message.cs
- ToolStripHighContrastRenderer.cs
- Helper.cs
- CreatingCookieEventArgs.cs
- NetPipeSection.cs
- MetadataPropertyAttribute.cs
- Transaction.cs
- MachineKey.cs
- CodeSubDirectory.cs
- ReflectionUtil.cs
- FontWeights.cs
- GPPOINT.cs
- ListItemConverter.cs
- COM2FontConverter.cs
- OdbcEnvironment.cs
- DocumentXPathNavigator.cs
- SignatureGenerator.cs
- BitmapVisualManager.cs
- ReadOnlyDataSource.cs
- IndexedString.cs
- ScheduleChanges.cs
- AmbientValueAttribute.cs
- HyperLinkField.cs
- BadImageFormatException.cs
- BamlLocalizableResourceKey.cs
- DelayLoadType.cs
- XmlSchemas.cs
- NextPreviousPagerField.cs
- ReverseComparer.cs
- JsonReaderDelegator.cs
- DispatcherObject.cs
- FastEncoderWindow.cs
- RangeBase.cs
- ListItem.cs
- MethodCallExpression.cs
- PipelineModuleStepContainer.cs
- TrackingServices.cs
- FormDocumentDesigner.cs
- ClientSideQueueItem.cs
- EpmContentDeSerializerBase.cs
- WizardPanel.cs
- PropertyGridView.cs
- UITypeEditor.cs
- DataListItem.cs
- SettingsPropertyValueCollection.cs
- XmlQualifiedName.cs
- ResolvedKeyFrameEntry.cs
- CollectionViewGroup.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ToolboxItemWrapper.cs
- RawContentTypeMapper.cs
- XmlSiteMapProvider.cs
- x509store.cs
- SerializationStore.cs
- MergeFilterQuery.cs
- UrlPath.cs