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
- OrderedEnumerableRowCollection.cs
- WebPartVerb.cs
- SafeNativeMethods.cs
- RuntimeResourceSet.cs
- ContourSegment.cs
- UriSchemeKeyedCollection.cs
- BehaviorEditorPart.cs
- ListBox.cs
- ListControl.cs
- ConfigurationManagerInternalFactory.cs
- TextParentUndoUnit.cs
- SeekStoryboard.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- InlineObject.cs
- Int32Storage.cs
- SQLByte.cs
- XPathNavigator.cs
- ResourceKey.cs
- ServiceNameCollection.cs
- PackWebRequestFactory.cs
- SmtpTransport.cs
- MapPathBasedVirtualPathProvider.cs
- WindowsMenu.cs
- TreeNodeSelectionProcessor.cs
- DbParameterHelper.cs
- RSAPKCS1SignatureFormatter.cs
- Help.cs
- HtmlSelect.cs
- ScriptMethodAttribute.cs
- SymDocumentType.cs
- LicenseException.cs
- AudioFormatConverter.cs
- HttpRuntime.cs
- BitmapEffectInputConnector.cs
- FrameworkTextComposition.cs
- TagPrefixCollection.cs
- Filter.cs
- UnicastIPAddressInformationCollection.cs
- FormsAuthenticationTicket.cs
- InvalidCommandTreeException.cs
- ViewCellSlot.cs
- _BaseOverlappedAsyncResult.cs
- Imaging.cs
- ConfigurationSectionHelper.cs
- TreeViewEvent.cs
- SecuritySessionServerSettings.cs
- OracleBoolean.cs
- CssClassPropertyAttribute.cs
- CorrelationManager.cs
- TransformerConfigurationWizardBase.cs
- activationcontext.cs
- SystemResources.cs
- assemblycache.cs
- SimpleTextLine.cs
- TemplateAction.cs
- IPAddress.cs
- NativeMethods.cs
- SpotLight.cs
- XslUrlEditor.cs
- DataServiceQueryOfT.cs
- TableLayout.cs
- ListViewCommandEventArgs.cs
- Statements.cs
- GridViewUpdatedEventArgs.cs
- DrawListViewItemEventArgs.cs
- SafeHandles.cs
- PageParserFilter.cs
- SpecialFolderEnumConverter.cs
- GridViewRowCollection.cs
- Funcletizer.cs
- DbCommandDefinition.cs
- FacetChecker.cs
- DbConnectionHelper.cs
- DirectoryInfo.cs
- XmlAttributeProperties.cs
- GroupBox.cs
- EmptyControlCollection.cs
- ResolvedKeyFrameEntry.cs
- AssociationType.cs
- PEFileEvidenceFactory.cs
- BaseServiceProvider.cs
- CodeDomComponentSerializationService.cs
- ConstraintManager.cs
- NumericPagerField.cs
- ResourceCollectionInfo.cs
- TraceUtility.cs
- DesignerView.xaml.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FixedSOMElement.cs
- EntityTransaction.cs
- Command.cs
- SocketElement.cs
- ConversionContext.cs
- DataKeyArray.cs
- HttpHandlersSection.cs
- ToolboxItemFilterAttribute.cs
- SelectionEditor.cs
- Compiler.cs
- ModuleBuilder.cs
- DataGridViewCellLinkedList.cs