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
- NetStream.cs
- CompilerParameters.cs
- SessionStateContainer.cs
- AppDomainUnloadedException.cs
- HttpRuntime.cs
- RawStylusInput.cs
- EncoderReplacementFallback.cs
- RootBrowserWindowProxy.cs
- FormatSelectingMessageInspector.cs
- CompressedStack.cs
- SystemColors.cs
- ReadOnlyCollectionBase.cs
- MarkupCompilePass2.cs
- CommonObjectSecurity.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- compensatingcollection.cs
- BamlResourceSerializer.cs
- Camera.cs
- securitymgrsite.cs
- ISAPIWorkerRequest.cs
- TableStyle.cs
- WebCategoryAttribute.cs
- ProgressPage.cs
- IisTraceWebEventProvider.cs
- AssociationSetEnd.cs
- XamlStream.cs
- ClientTarget.cs
- IndexedEnumerable.cs
- XmlCompatibilityReader.cs
- FigureParaClient.cs
- WebPartsPersonalization.cs
- OperationFormatUse.cs
- FileVersionInfo.cs
- ExtendedTransformFactory.cs
- ShellProvider.cs
- RectAnimationClockResource.cs
- DateTimeConstantAttribute.cs
- FileDialog.cs
- LinkTarget.cs
- MarginsConverter.cs
- _MultipleConnectAsync.cs
- Operator.cs
- InvalidateEvent.cs
- FormatControl.cs
- LocalizationComments.cs
- AsyncSerializedWorker.cs
- AnonymousIdentificationSection.cs
- XmlArrayAttribute.cs
- ResourceDisplayNameAttribute.cs
- UnitySerializationHolder.cs
- BamlRecordReader.cs
- CompoundFileIOPermission.cs
- TreeViewItem.cs
- ClearCollection.cs
- SectionInput.cs
- ManagedIStream.cs
- MsmqProcessProtocolHandler.cs
- ObjectAssociationEndMapping.cs
- ForEach.cs
- LabelLiteral.cs
- ExpanderAutomationPeer.cs
- CannotUnloadAppDomainException.cs
- XmlHierarchyData.cs
- WindowsSolidBrush.cs
- FolderBrowserDialog.cs
- Inline.cs
- WindowVisualStateTracker.cs
- PriorityChain.cs
- WCFServiceClientProxyGenerator.cs
- MenuBase.cs
- Monitor.cs
- WindowsRichEditRange.cs
- TransformerInfo.cs
- OleDbInfoMessageEvent.cs
- HttpApplicationFactory.cs
- ItemDragEvent.cs
- EnumValidator.cs
- PhonemeConverter.cs
- ReferentialConstraint.cs
- TokenCreationException.cs
- BaseInfoTable.cs
- OptionalRstParameters.cs
- EventProviderTraceListener.cs
- InlineObject.cs
- Point4D.cs
- UIElementAutomationPeer.cs
- RenderData.cs
- ExpressionDumper.cs
- ConditionValidator.cs
- ApplicationFileParser.cs
- CopyCodeAction.cs
- WindowsGrip.cs
- RTLAwareMessageBox.cs
- ServiceNotStartedException.cs
- ResourcePart.cs
- ScaleTransform.cs
- AsymmetricKeyExchangeFormatter.cs
- TreeNodeStyle.cs
- BitmapCacheBrush.cs
- ExecutedRoutedEventArgs.cs