Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / 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
- HttpRequest.cs
- DrawingVisual.cs
- mediaeventshelper.cs
- ToolStrip.cs
- DesignBindingPicker.cs
- ChannelToken.cs
- XmlRawWriterWrapper.cs
- Parser.cs
- FtpWebRequest.cs
- InputDevice.cs
- WsdlInspector.cs
- OdbcFactory.cs
- DataBoundLiteralControl.cs
- InputScope.cs
- nulltextnavigator.cs
- InputReport.cs
- InProcStateClientManager.cs
- BinaryQueryOperator.cs
- EventEntry.cs
- oledbmetadatacolumnnames.cs
- ResourceProperty.cs
- SessionSwitchEventArgs.cs
- ObjectQuery.cs
- XmlAnyElementAttributes.cs
- CaretElement.cs
- XmlElementAttributes.cs
- Int16KeyFrameCollection.cs
- SortAction.cs
- Region.cs
- RepeaterCommandEventArgs.cs
- TrackingCondition.cs
- wgx_render.cs
- MimeMultiPart.cs
- HtmlInputCheckBox.cs
- MessagePropertyFilter.cs
- Flattener.cs
- DecoderReplacementFallback.cs
- ModuleElement.cs
- Pen.cs
- SqlDelegatedTransaction.cs
- GlobalProxySelection.cs
- CodeEntryPointMethod.cs
- CollectionEditor.cs
- MarkupExtensionParser.cs
- SelectionProviderWrapper.cs
- PauseStoryboard.cs
- NumberSubstitution.cs
- DNS.cs
- SortFieldComparer.cs
- ContextInformation.cs
- CSharpCodeProvider.cs
- StateRuntime.cs
- BitmapEncoder.cs
- ComplexLine.cs
- MsmqProcessProtocolHandler.cs
- CFGGrammar.cs
- ParseNumbers.cs
- NativeDirectoryServicesQueryAPIs.cs
- cookieexception.cs
- InkCanvasInnerCanvas.cs
- StickyNote.cs
- Rotation3D.cs
- TableStyle.cs
- ToolStripComboBox.cs
- _CookieModule.cs
- ConnectionPoolManager.cs
- ParameterEditorUserControl.cs
- DataProtection.cs
- SourceCollection.cs
- CounterSample.cs
- QilLiteral.cs
- BindingList.cs
- MenuAutoFormat.cs
- LoginName.cs
- ChtmlImageAdapter.cs
- CountAggregationOperator.cs
- InplaceBitmapMetadataWriter.cs
- DbConnectionInternal.cs
- Control.cs
- SmtpLoginAuthenticationModule.cs
- ScrollBar.cs
- SqlTrackingService.cs
- BooleanAnimationBase.cs
- DataListItemCollection.cs
- WebRequestModulesSection.cs
- TreeViewBindingsEditor.cs
- DataControlFieldHeaderCell.cs
- XamlStream.cs
- Blend.cs
- ProfileEventArgs.cs
- Bezier.cs
- TakeOrSkipQueryOperator.cs
- RotateTransform.cs
- _NTAuthentication.cs
- KeyConverter.cs
- HMACSHA384.cs
- LocalizableAttribute.cs
- XPathException.cs
- NavigationProperty.cs
- MarshalByRefObject.cs