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
- COAUTHIDENTITY.cs
- GPPOINT.cs
- SqlVisitor.cs
- ExecutorLocksHeldException.cs
- GenerateDerivedKeyRequest.cs
- OleDbPropertySetGuid.cs
- TickBar.cs
- CellRelation.cs
- EntityModelSchemaGenerator.cs
- RegexCaptureCollection.cs
- DelegateBodyWriter.cs
- ToolboxBitmapAttribute.cs
- BindableTemplateBuilder.cs
- XmlQueryOutput.cs
- DeploymentSectionCache.cs
- PipeStream.cs
- controlskin.cs
- TrackBarRenderer.cs
- UInt16.cs
- XComponentModel.cs
- SqlIdentifier.cs
- TextElementAutomationPeer.cs
- AppDomain.cs
- TreeViewDesigner.cs
- EditorPartChrome.cs
- SqlDataSourceSelectingEventArgs.cs
- SoapFault.cs
- XmlDomTextWriter.cs
- Compress.cs
- Image.cs
- ValueHandle.cs
- NullReferenceException.cs
- VectorAnimationBase.cs
- ImageDrawing.cs
- WsdlBuildProvider.cs
- AsymmetricAlgorithm.cs
- SerializerWriterEventHandlers.cs
- ProxyWebPart.cs
- EntityDataSource.cs
- NameValueConfigurationElement.cs
- BasicViewGenerator.cs
- X509SecurityTokenAuthenticator.cs
- ResourceExpression.cs
- IEnumerable.cs
- SerializationObjectManager.cs
- WorkflowInstanceAbortedRecord.cs
- Int32AnimationBase.cs
- ButtonBase.cs
- ApplicationDirectoryMembershipCondition.cs
- CompiledELinqQueryState.cs
- Formatter.cs
- MeshGeometry3D.cs
- HttpStreamXmlDictionaryWriter.cs
- TextBoxBaseDesigner.cs
- XmlTypeMapping.cs
- RSACryptoServiceProvider.cs
- RowVisual.cs
- CodeGenerator.cs
- StructuralComparisons.cs
- ValueTable.cs
- LinqDataSourceInsertEventArgs.cs
- Queue.cs
- XPathNavigatorReader.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DynamicPropertyReader.cs
- Rect3DConverter.cs
- _SecureChannel.cs
- UnsafeNativeMethods.cs
- nulltextnavigator.cs
- PolicyValidationException.cs
- NullableConverter.cs
- LinearKeyFrames.cs
- DbModificationClause.cs
- CollectionBuilder.cs
- ServiceAppDomainAssociationProvider.cs
- MediaEntryAttribute.cs
- SqlClientPermission.cs
- DataSourceHelper.cs
- CharacterBufferReference.cs
- FormDocumentDesigner.cs
- MimeTypeMapper.cs
- relpropertyhelper.cs
- TextEditorCopyPaste.cs
- WsrmMessageInfo.cs
- ContextQuery.cs
- DuplicateWaitObjectException.cs
- IsolatedStorageException.cs
- AutomationIdentifierGuids.cs
- Matrix.cs
- OleDbError.cs
- PerspectiveCamera.cs
- FormViewPagerRow.cs
- XmlSchemaCollection.cs
- NamespaceTable.cs
- ACL.cs
- Signature.cs
- TransactedBatchingBehavior.cs
- StaticDataManager.cs
- DetailsViewUpdatedEventArgs.cs
- CodePrimitiveExpression.cs