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
- IPEndPointCollection.cs
- ValueOfAction.cs
- BufferAllocator.cs
- NativeMethodsCLR.cs
- FontInfo.cs
- StateMachineWorkflow.cs
- NativeRightsManagementAPIsStructures.cs
- AnnotationResource.cs
- PolyLineSegment.cs
- CharConverter.cs
- odbcmetadatacolumnnames.cs
- EntitySetRetriever.cs
- Pen.cs
- SocketStream.cs
- GetUserPreferenceRequest.cs
- DataGridViewUtilities.cs
- EnvelopedPkcs7.cs
- StringBuilder.cs
- ACL.cs
- BamlLocalizer.cs
- OdbcConnection.cs
- SctClaimSerializer.cs
- ObjRef.cs
- ScriptControl.cs
- InvalidComObjectException.cs
- EventDescriptor.cs
- VarRefManager.cs
- ObjectDataSource.cs
- TransactedReceiveScope.cs
- AttributeProviderAttribute.cs
- HtmlShim.cs
- TableAutomationPeer.cs
- HtmlWindowCollection.cs
- VectorCollection.cs
- XmlImplementation.cs
- ChannelSinkStacks.cs
- HttpCachePolicyElement.cs
- StructuredProperty.cs
- TextDecorationCollection.cs
- Message.cs
- CodeNamespaceImport.cs
- Pen.cs
- SafeTimerHandle.cs
- PackageProperties.cs
- ServiceThrottlingElement.cs
- Message.cs
- PropertyOverridesTypeEditor.cs
- SqlMethods.cs
- URLMembershipCondition.cs
- Serialization.cs
- DragEvent.cs
- ResourceDisplayNameAttribute.cs
- CommandManager.cs
- HttpStreamXmlDictionaryWriter.cs
- BamlMapTable.cs
- HttpCachePolicy.cs
- RegistrySecurity.cs
- returneventsaver.cs
- EventArgs.cs
- BreakRecordTable.cs
- XmlChildNodes.cs
- RegexInterpreter.cs
- KeyManager.cs
- ProjectionRewriter.cs
- EventSinkActivityDesigner.cs
- LocalizationCodeDomSerializer.cs
- DoubleCollectionConverter.cs
- Transform3D.cs
- EmptyQuery.cs
- AddInEnvironment.cs
- _HeaderInfo.cs
- _LocalDataStoreMgr.cs
- MarkupCompilePass2.cs
- HandleCollector.cs
- RegexNode.cs
- MessageEnumerator.cs
- DebugViewWriter.cs
- EntitySqlQueryCacheEntry.cs
- WebPartHelpVerb.cs
- SemanticResolver.cs
- LowerCaseStringConverter.cs
- BrowserDefinitionCollection.cs
- NetTcpBindingCollectionElement.cs
- TextHidden.cs
- MetadataCacheItem.cs
- ProviderMetadataCachedInformation.cs
- WhitespaceRuleReader.cs
- FlowLayoutPanel.cs
- GridItemProviderWrapper.cs
- BlockCollection.cs
- ImageSourceValueSerializer.cs
- ByteStreamGeometryContext.cs
- SolidBrush.cs
- PolyBezierSegment.cs
- ExceptionUtil.cs
- Pen.cs
- AccessViolationException.cs
- ContextMenuService.cs
- ProcessModule.cs
- SignatureToken.cs