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
- ThemeInfoAttribute.cs
- XmlBinaryReader.cs
- MessageHeaders.cs
- WebRequestModulesSection.cs
- ProtocolViolationException.cs
- ImageListImage.cs
- XmlNamedNodeMap.cs
- DateTimeFormatInfo.cs
- Boolean.cs
- XmlDataFileEditor.cs
- Setter.cs
- WebPartCollection.cs
- QualifiedCellIdBoolean.cs
- WebZone.cs
- EncodingInfo.cs
- ToolboxComponentsCreatingEventArgs.cs
- VerificationException.cs
- Component.cs
- UndoEngine.cs
- NumberAction.cs
- SharedPerformanceCounter.cs
- PhonemeEventArgs.cs
- LicenseManager.cs
- Annotation.cs
- TraceHandler.cs
- SecurityRuntime.cs
- CalendarDay.cs
- ComponentEvent.cs
- EventPropertyMap.cs
- ServiceAppDomainAssociationProvider.cs
- NullableConverter.cs
- StylusTip.cs
- Formatter.cs
- ApplicationFileParser.cs
- HotSpot.cs
- TimeSpanParse.cs
- XmlUnspecifiedAttribute.cs
- ValuePattern.cs
- NameValueConfigurationElement.cs
- TextCollapsingProperties.cs
- CodeCatchClauseCollection.cs
- TextDecorations.cs
- AccessKeyManager.cs
- DetailsViewDeleteEventArgs.cs
- WindowsGraphicsCacheManager.cs
- DocumentXPathNavigator.cs
- ExpressionBindingCollection.cs
- ClientBuildManagerCallback.cs
- SpellerHighlightLayer.cs
- WorkflowPersistenceService.cs
- InstanceData.cs
- StylusCaptureWithinProperty.cs
- ForeignConstraint.cs
- XamlFilter.cs
- StagingAreaInputItem.cs
- BulletedList.cs
- ChangeProcessor.cs
- XmlDigitalSignatureProcessor.cs
- QualifiedCellIdBoolean.cs
- SmtpNtlmAuthenticationModule.cs
- BindingExpressionBase.cs
- IUnknownConstantAttribute.cs
- SynchronizationHandlesCodeDomSerializer.cs
- OutputCacheModule.cs
- DataSpaceManager.cs
- SimpleRecyclingCache.cs
- Hash.cs
- LinearGradientBrush.cs
- ComboBox.cs
- Condition.cs
- FieldTemplateFactory.cs
- PartialCachingAttribute.cs
- BuildResult.cs
- DocumentApplicationDocumentViewer.cs
- AssemblySettingAttributes.cs
- CellConstant.cs
- TextBoxAutoCompleteSourceConverter.cs
- PointAnimation.cs
- ParallelQuery.cs
- Trigger.cs
- TransactionContext.cs
- GroupQuery.cs
- SettingsBindableAttribute.cs
- RectKeyFrameCollection.cs
- OleDbMetaDataFactory.cs
- XmlSignatureManifest.cs
- SizeChangedEventArgs.cs
- SHA384Managed.cs
- SByteStorage.cs
- SqlConnectionPoolProviderInfo.cs
- DataObject.cs
- SecUtil.cs
- LabelLiteral.cs
- _ShellExpression.cs
- ReadOnlyCollectionBase.cs
- IProvider.cs
- MDIClient.cs
- ServerValidateEventArgs.cs
- PropertyTabAttribute.cs
- SHA384Cng.cs