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
- DataColumnCollection.cs
- EmptyImpersonationContext.cs
- FormViewInsertEventArgs.cs
- JapaneseLunisolarCalendar.cs
- ListViewInsertEventArgs.cs
- FormatConvertedBitmap.cs
- AbandonedMutexException.cs
- PropertyTab.cs
- BaseTemplatedMobileComponentEditor.cs
- PolyLineSegmentFigureLogic.cs
- NumberAction.cs
- HScrollProperties.cs
- GeometryHitTestParameters.cs
- WebServiceErrorEvent.cs
- EncodingTable.cs
- DispatchChannelSink.cs
- PeerApplicationLaunchInfo.cs
- ColorBlend.cs
- OleDbRowUpdatingEvent.cs
- DefaultBinder.cs
- GlyphShapingProperties.cs
- TraceData.cs
- TreeNodeBindingCollection.cs
- WizardSideBarListControlItemEventArgs.cs
- DoubleConverter.cs
- ImageKeyConverter.cs
- OutputCacheProfileCollection.cs
- EntitySetRetriever.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- Range.cs
- MexNamedPipeBindingElement.cs
- SvcMapFileSerializer.cs
- PackageDigitalSignature.cs
- dbdatarecord.cs
- WindowsFormsHost.cs
- FontDialog.cs
- ComponentEditorForm.cs
- ArcSegment.cs
- UserPersonalizationStateInfo.cs
- XmlFormatReaderGenerator.cs
- ArgIterator.cs
- ExceptionRoutedEventArgs.cs
- CommonRemoteMemoryBlock.cs
- RangeValueProviderWrapper.cs
- KeyValuePairs.cs
- AdapterDictionary.cs
- DefaultPropertyAttribute.cs
- IMembershipProvider.cs
- SqlClientFactory.cs
- TraceShell.cs
- AssertFilter.cs
- LocatorPart.cs
- NominalTypeEliminator.cs
- PageStatePersister.cs
- DataGridViewCellCollection.cs
- StoreItemCollection.Loader.cs
- RolePrincipal.cs
- ChtmlMobileTextWriter.cs
- ListViewSortEventArgs.cs
- RawStylusActions.cs
- ADConnectionHelper.cs
- Stack.cs
- LoadedOrUnloadedOperation.cs
- ScriptingRoleServiceSection.cs
- InputBuffer.cs
- InlinedAggregationOperatorEnumerator.cs
- DebugHandleTracker.cs
- SelectionRange.cs
- EntityCommand.cs
- AtlasWeb.Designer.cs
- IIS7UserPrincipal.cs
- EmptyEnumerable.cs
- DataSvcMapFile.cs
- PersistenceTypeAttribute.cs
- VerticalAlignConverter.cs
- UnsafeNativeMethods.cs
- ProxyAttribute.cs
- SqlDataSourceCache.cs
- ComPlusAuthorization.cs
- StrongName.cs
- X500Name.cs
- ModuleBuilderData.cs
- HttpSessionStateBase.cs
- TypeBuilder.cs
- DataGridColumnCollection.cs
- BitmapEffectInput.cs
- validationstate.cs
- StylusPointPropertyUnit.cs
- BrowserTree.cs
- ActivityCodeDomSerializer.cs
- StreamGeometry.cs
- ScrollChrome.cs
- Blend.cs
- UserNameSecurityTokenProvider.cs
- PageBreakRecord.cs
- QuaternionAnimationUsingKeyFrames.cs
- WorkflowClientDeliverMessageWrapper.cs
- ClientScriptItem.cs
- ComAdminInterfaces.cs