Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Result / ReplacementText.cs / 1 / ReplacementText.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Speech.Internal.SapiInterop; using System.Speech.Internal.SrgsCompiler; using System.Speech.Internal.SrgsParser; using System.Text; using System.Xml; using System.Xml.XPath; namespace System.Speech.Recognition { ////// TODOC /// [Serializable] [StructLayout (LayoutKind.Sequential)] public class ReplacementText { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal ReplacementText (DisplayAttributes displayAttributes, string text, int wordIndex, int countOfWords) { _displayAttributes = displayAttributes; _text = text; _wordIndex = wordIndex; _countOfWords = countOfWords; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// public DisplayAttributes DisplayAttributes { get { return _displayAttributes; } } ////// TODOC /// public string Text { get { return _text; } } ////// TODOC /// public int FirstWordIndex { get { return _wordIndex; } } ////// TODOC /// public int CountOfWords { get { return _countOfWords; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private DisplayAttributes _displayAttributes; private string _text; private int _wordIndex; private int _countOfWords; #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Speech.Internal.SapiInterop; using System.Speech.Internal.SrgsCompiler; using System.Speech.Internal.SrgsParser; using System.Text; using System.Xml; using System.Xml.XPath; namespace System.Speech.Recognition { ////// TODOC /// [Serializable] [StructLayout (LayoutKind.Sequential)] public class ReplacementText { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal ReplacementText (DisplayAttributes displayAttributes, string text, int wordIndex, int countOfWords) { _displayAttributes = displayAttributes; _text = text; _wordIndex = wordIndex; _countOfWords = countOfWords; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// public DisplayAttributes DisplayAttributes { get { return _displayAttributes; } } ////// TODOC /// public string Text { get { return _text; } } ////// TODOC /// public int FirstWordIndex { get { return _wordIndex; } } ////// TODOC /// public int CountOfWords { get { return _countOfWords; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private DisplayAttributes _displayAttributes; private string _text; private int _wordIndex; private int _countOfWords; #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
- RowToParametersTransformer.cs
- SafeSystemMetrics.cs
- ArgumentValueSerializer.cs
- LogFlushAsyncResult.cs
- FileVersion.cs
- MetadataCache.cs
- DecoderNLS.cs
- PersonalizableTypeEntry.cs
- HeaderedContentControl.cs
- DataStreams.cs
- SchemaCollectionPreprocessor.cs
- X509CertificateValidator.cs
- DataTableClearEvent.cs
- NativeMethods.cs
- DictionaryTraceRecord.cs
- WebBrowserSiteBase.cs
- Expression.cs
- PtsContext.cs
- TabControlCancelEvent.cs
- DispatchChannelSink.cs
- WebBrowserDocumentCompletedEventHandler.cs
- StateBag.cs
- URIFormatException.cs
- TableLayout.cs
- InvalidPrinterException.cs
- ImageCodecInfo.cs
- ParserStack.cs
- StyleSelector.cs
- CellTreeSimplifier.cs
- Helpers.cs
- SqlDataSourceAdvancedOptionsForm.cs
- SqlDataSource.cs
- VerticalAlignConverter.cs
- UDPClient.cs
- ParseHttpDate.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- IisTraceWebEventProvider.cs
- MsmqInputChannelListener.cs
- AssociationSetMetadata.cs
- AdornerPresentationContext.cs
- ControlTemplate.cs
- MeasureItemEvent.cs
- HttpConfigurationSystem.cs
- WizardPanelChangingEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- PersistChildrenAttribute.cs
- SchemaInfo.cs
- HandlerElement.cs
- HttpModuleAction.cs
- PlaceHolder.cs
- DesignerView.cs
- OleDbConnection.cs
- CaseInsensitiveHashCodeProvider.cs
- SafeSystemMetrics.cs
- ChildTable.cs
- Freezable.cs
- StringUtil.cs
- ContentTextAutomationPeer.cs
- XsltLoader.cs
- X509AudioLogo.cs
- SchemaNotation.cs
- MetadataProperty.cs
- InputBindingCollection.cs
- XmlSerializerSection.cs
- AdjustableArrowCap.cs
- IisTraceListener.cs
- FrameDimension.cs
- MailFileEditor.cs
- Color.cs
- DateTimeFormatInfoScanner.cs
- LoginCancelEventArgs.cs
- TypeHelpers.cs
- SecurityElement.cs
- SecurityManager.cs
- SerializationAttributes.cs
- ClipboardData.cs
- ValidationResult.cs
- AutoCompleteStringCollection.cs
- PrintController.cs
- DataSourceXmlAttributeAttribute.cs
- Vertex.cs
- XPathScanner.cs
- SrgsGrammar.cs
- DiscoveryClientReferences.cs
- DemultiplexingClientMessageFormatter.cs
- GacUtil.cs
- DataGridViewSortCompareEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- SQLDouble.cs
- UnitySerializationHolder.cs
- ScriptingAuthenticationServiceSection.cs
- ProcessHost.cs
- FilterElement.cs
- SQLConvert.cs
- FontFamilyConverter.cs
- EdmFunctionAttribute.cs
- DbConnectionStringCommon.cs
- WinFormsSecurity.cs
- BaseAddressPrefixFilterElementCollection.cs
- ClientConfigurationSystem.cs