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
- StorageRoot.cs
- RuntimeHelpers.cs
- X509Certificate2Collection.cs
- PersianCalendar.cs
- MinimizableAttributeTypeConverter.cs
- UserPersonalizationStateInfo.cs
- MobileUserControl.cs
- DynamicEndpoint.cs
- FtpWebRequest.cs
- WebPartDescription.cs
- NativeMethodsOther.cs
- SqlWriter.cs
- ParameterToken.cs
- ValidatedControlConverter.cs
- MexTcpBindingElement.cs
- Monitor.cs
- Condition.cs
- TextRangeEditTables.cs
- StatusBarAutomationPeer.cs
- ScrollChrome.cs
- CookielessData.cs
- ListViewUpdatedEventArgs.cs
- SplitterCancelEvent.cs
- SerializationInfoEnumerator.cs
- EncodingFallbackAwareXmlTextWriter.cs
- FormsAuthenticationUserCollection.cs
- DataControlField.cs
- MouseEventArgs.cs
- DataGridViewCellLinkedList.cs
- TextLine.cs
- Geometry3D.cs
- DelegateArgumentReference.cs
- Unit.cs
- X509Certificate.cs
- DataGridView.cs
- TemplateComponentConnector.cs
- TableProviderWrapper.cs
- SmtpException.cs
- SslSecurityTokenParameters.cs
- XmlJsonReader.cs
- ConstraintCollection.cs
- RoutedEventValueSerializer.cs
- ErrorFormatter.cs
- TransformerInfo.cs
- Int64.cs
- WindowsFormsHelpers.cs
- PeerNameResolver.cs
- Vector.cs
- ClickablePoint.cs
- InputProcessorProfilesLoader.cs
- CommonDialog.cs
- QueryStringParameter.cs
- StringSorter.cs
- _Semaphore.cs
- BooleanKeyFrameCollection.cs
- ConvertersCollection.cs
- SubstitutionResponseElement.cs
- BitmapMetadataBlob.cs
- RectAnimationUsingKeyFrames.cs
- AmbientValueAttribute.cs
- TextUtf8RawTextWriter.cs
- DirectoryObjectSecurity.cs
- RangeContentEnumerator.cs
- MediaSystem.cs
- ImageSourceValueSerializer.cs
- TransformConverter.cs
- WebPartEditorOkVerb.cs
- login.cs
- PixelFormats.cs
- SqlColumnizer.cs
- DoubleAnimationClockResource.cs
- returneventsaver.cs
- DependentList.cs
- LabelAutomationPeer.cs
- SplayTreeNode.cs
- QilInvoke.cs
- SinglePageViewer.cs
- Icon.cs
- TableLayout.cs
- TCPClient.cs
- ParseChildrenAsPropertiesAttribute.cs
- ListControlConvertEventArgs.cs
- Application.cs
- TableRow.cs
- CombinedGeometry.cs
- StorageSetMapping.cs
- LambdaCompiler.Binary.cs
- SecurityUtils.cs
- SQLByteStorage.cs
- HierarchicalDataBoundControl.cs
- WorkflowRuntimeService.cs
- Task.cs
- BitHelper.cs
- FillErrorEventArgs.cs
- ImageButton.cs
- CodeExpressionCollection.cs
- HMACSHA384.cs
- DataGridViewTopRowAccessibleObject.cs
- ApplicationId.cs
- Input.cs