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
- DummyDataSource.cs
- QuaternionKeyFrameCollection.cs
- ClientCultureInfo.cs
- StructuredTypeEmitter.cs
- RTLAwareMessageBox.cs
- EntityDataSourceChangedEventArgs.cs
- TextEffectResolver.cs
- StringTraceRecord.cs
- ObjectConverter.cs
- MarkupWriter.cs
- IntranetCredentialPolicy.cs
- GeneralTransform2DTo3D.cs
- GroupItem.cs
- LocalBuilder.cs
- sqlstateclientmanager.cs
- FormViewUpdateEventArgs.cs
- ControlTemplate.cs
- TextFormatterImp.cs
- SpellerStatusTable.cs
- CheckBoxAutomationPeer.cs
- DocumentPaginator.cs
- FileCodeGroup.cs
- Variant.cs
- SpellCheck.cs
- DLinqColumnProvider.cs
- AnimationClockResource.cs
- GB18030Encoding.cs
- CompiledELinqQueryState.cs
- New.cs
- RuleSettingsCollection.cs
- DrawingDrawingContext.cs
- PointAnimationUsingPath.cs
- CodeAttributeDeclaration.cs
- CLSCompliantAttribute.cs
- SecurityCriticalDataForSet.cs
- StylusEventArgs.cs
- InternalConfigSettingsFactory.cs
- EventHandlersStore.cs
- Point.cs
- OrderedEnumerableRowCollection.cs
- Point3D.cs
- ByteRangeDownloader.cs
- ProfileInfo.cs
- CounterSet.cs
- BooleanStorage.cs
- RouteData.cs
- ConfigurationLocationCollection.cs
- ServerIdentity.cs
- ResourceCollectionInfo.cs
- ScriptServiceAttribute.cs
- EnvelopedPkcs7.cs
- ToolStripButton.cs
- KeyManager.cs
- KnownTypeAttribute.cs
- SqlWebEventProvider.cs
- DiscoveryServiceExtension.cs
- ProxySimple.cs
- NameValuePermission.cs
- ScriptMethodAttribute.cs
- SqlCharStream.cs
- Operand.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MimeMapping.cs
- ObjectListGeneralPage.cs
- StorageInfo.cs
- XmlIlGenerator.cs
- BinaryEditor.cs
- HttpRequest.cs
- FixedNode.cs
- TimeoutTimer.cs
- Parameter.cs
- CodeActivityContext.cs
- WebPartsPersonalization.cs
- XmlIlTypeHelper.cs
- EditorZone.cs
- ListDictionary.cs
- ConfigurationPermission.cs
- XmlSerializerAssemblyAttribute.cs
- ConfigXmlText.cs
- ProfileInfo.cs
- TypedElement.cs
- SchemaType.cs
- EntityTypeBase.cs
- Repeater.cs
- CqlBlock.cs
- TextModifier.cs
- Cursors.cs
- InternalsVisibleToAttribute.cs
- TextTreeTextNode.cs
- CompilationSection.cs
- LinkLabel.cs
- QueueProcessor.cs
- ErrorRuntimeConfig.cs
- RequiredFieldValidator.cs
- RijndaelManaged.cs
- Logging.cs
- LinqMaximalSubtreeNominator.cs
- CodeExpressionStatement.cs
- UrlAuthFailedErrorFormatter.cs
- QuerySettings.cs