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
- CodePropertyReferenceExpression.cs
- FixedPageProcessor.cs
- ScalarOps.cs
- WebDisplayNameAttribute.cs
- EngineSiteSapi.cs
- ChannelManagerBase.cs
- FtpWebResponse.cs
- SubtreeProcessor.cs
- SessionEndingCancelEventArgs.cs
- _ShellExpression.cs
- ValidationPropertyAttribute.cs
- TCEAdapterGenerator.cs
- RegexReplacement.cs
- SignatureGenerator.cs
- CacheRequest.cs
- IndexerNameAttribute.cs
- MappingSource.cs
- TableLayoutStyleCollection.cs
- DataGridViewCellCollection.cs
- BamlMapTable.cs
- HtmlTitle.cs
- ContextQuery.cs
- TextRange.cs
- ScrollChangedEventArgs.cs
- XPathChildIterator.cs
- MetaForeignKeyColumn.cs
- DbTransaction.cs
- ThreadExceptionDialog.cs
- XmlDownloadManager.cs
- ResourcePermissionBaseEntry.cs
- MutableAssemblyCacheEntry.cs
- BufferBuilder.cs
- CompressStream.cs
- _CookieModule.cs
- ToolstripProfessionalRenderer.cs
- invalidudtexception.cs
- WebOperationContext.cs
- BordersPage.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- MethodImplAttribute.cs
- XmlILConstructAnalyzer.cs
- SemanticTag.cs
- ReaderOutput.cs
- ManifestSignedXml.cs
- GeometryValueSerializer.cs
- BindingExpression.cs
- TrustManagerPromptUI.cs
- Filter.cs
- ListViewCancelEventArgs.cs
- WindowsEditBox.cs
- DataGridPageChangedEventArgs.cs
- MailWebEventProvider.cs
- SubMenuStyleCollection.cs
- TimeSpanValidatorAttribute.cs
- SyndicationFeedFormatter.cs
- Win32Native.cs
- EntityModelSchemaGenerator.cs
- VarInfo.cs
- DataGridViewControlCollection.cs
- Geometry3D.cs
- DataGridState.cs
- ModelUIElement3D.cs
- StringCollection.cs
- Timer.cs
- HttpDictionary.cs
- XslTransform.cs
- ConfigErrorGlyph.cs
- XmlElement.cs
- SlipBehavior.cs
- TargetException.cs
- XmlSchemaAny.cs
- UpdateTracker.cs
- ClientScriptManagerWrapper.cs
- EUCJPEncoding.cs
- UndoManager.cs
- HtmlTextArea.cs
- SectionUpdates.cs
- MimeFormatter.cs
- ComPlusInstanceProvider.cs
- QueryPageSettingsEventArgs.cs
- EventData.cs
- DefaultValueTypeConverter.cs
- EdmProviderManifest.cs
- ValueConversionAttribute.cs
- Stackframe.cs
- UTF8Encoding.cs
- XmlChoiceIdentifierAttribute.cs
- AnimationClockResource.cs
- WriteStateInfoBase.cs
- MdiWindowListStrip.cs
- ErrorRuntimeConfig.cs
- CommonObjectSecurity.cs
- Rotation3DAnimationBase.cs
- Tablet.cs
- Nullable.cs
- SchemaTableColumn.cs
- KeyboardNavigation.cs
- SecureStringHasher.cs
- RedBlackList.cs
- PrimitiveRenderer.cs