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
- SHA256Cng.cs
- ViewPort3D.cs
- Visitors.cs
- DesignerAdapterUtil.cs
- XmlMtomReader.cs
- GregorianCalendar.cs
- VectorKeyFrameCollection.cs
- ControlEvent.cs
- StrongNameSignatureInformation.cs
- SiteMapHierarchicalDataSourceView.cs
- PropertyToken.cs
- NestedContainer.cs
- XmlDataImplementation.cs
- TreeViewItem.cs
- StringCollection.cs
- AuthenticateEventArgs.cs
- StateChangeEvent.cs
- QueryStringParameter.cs
- DataGridViewColumnHeaderCell.cs
- PrtCap_Public.cs
- SqlDataSourceEnumerator.cs
- DateTimeConverter2.cs
- WindowCollection.cs
- OleDbConnection.cs
- ThemeableAttribute.cs
- SAPIEngineTypes.cs
- EntryPointNotFoundException.cs
- SimpleFieldTemplateUserControl.cs
- filewebresponse.cs
- FrameworkElement.cs
- PropertyDescriptorCollection.cs
- CryptoApi.cs
- cache.cs
- Graphics.cs
- AsyncDataRequest.cs
- ZipIOExtraField.cs
- CustomAttribute.cs
- CharEnumerator.cs
- DataRecordInternal.cs
- WebDisplayNameAttribute.cs
- FieldValue.cs
- RtType.cs
- OdbcInfoMessageEvent.cs
- SqlParameterizer.cs
- EntityConnection.cs
- FactoryRecord.cs
- ScriptReference.cs
- DragCompletedEventArgs.cs
- SessionPageStateSection.cs
- DataGridViewRow.cs
- XamlStackWriter.cs
- XmlDownloadManager.cs
- XmlNamespaceManager.cs
- PrePostDescendentsWalker.cs
- PagedDataSource.cs
- NotificationContext.cs
- MouseGestureValueSerializer.cs
- PageContent.cs
- QueryStringParameter.cs
- StylesEditorDialog.cs
- StorageScalarPropertyMapping.cs
- HierarchicalDataBoundControl.cs
- EdmSchemaError.cs
- MetadataUtilsSmi.cs
- DataGridColumnCollection.cs
- StreamingContext.cs
- AuthenticatingEventArgs.cs
- OneWayBindingElementImporter.cs
- CustomError.cs
- KeyProperty.cs
- TaskFormBase.cs
- EnumValidator.cs
- ClientApiGenerator.cs
- RelationshipEntry.cs
- MobileControlsSection.cs
- ComponentDispatcher.cs
- WebPartCancelEventArgs.cs
- ScalarConstant.cs
- ExtensionMethods.cs
- VisualSerializer.cs
- NetSectionGroup.cs
- DSACryptoServiceProvider.cs
- shaperfactory.cs
- ParseChildrenAsPropertiesAttribute.cs
- TreeWalker.cs
- TypeBrowser.xaml.cs
- ClonableStack.cs
- BufferModeSettings.cs
- WebPartCancelEventArgs.cs
- DSASignatureDeformatter.cs
- LinkClickEvent.cs
- ListViewDeleteEventArgs.cs
- TypeToTreeConverter.cs
- MaterialGroup.cs
- AdPostCacheSubstitution.cs
- MenuItemStyleCollection.cs
- SafeMILHandleMemoryPressure.cs
- ScrollBar.cs
- PasswordTextNavigator.cs
- FlowDocumentPaginator.cs