Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
- DataTrigger.cs
- StringKeyFrameCollection.cs
- SessionPageStatePersister.cs
- WSSecurityPolicy11.cs
- _OverlappedAsyncResult.cs
- ViewEvent.cs
- TransformerInfoCollection.cs
- Int64Storage.cs
- UpDownEvent.cs
- WebPartEditorApplyVerb.cs
- HandlerFactoryWrapper.cs
- FontWeight.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TableRow.cs
- SoapIgnoreAttribute.cs
- InternalConfigSettingsFactory.cs
- CodeGeneratorAttribute.cs
- WebAdminConfigurationHelper.cs
- XMLDiffLoader.cs
- HtmlInputRadioButton.cs
- OleDbConnection.cs
- WebContext.cs
- BasePattern.cs
- GradientStop.cs
- SoapFormatExtensions.cs
- RelationshipDetailsCollection.cs
- SerializerDescriptor.cs
- DataObject.cs
- CmsInterop.cs
- WindowsTreeView.cs
- DbProviderSpecificTypePropertyAttribute.cs
- RootBrowserWindowAutomationPeer.cs
- WebPartVerbsEventArgs.cs
- MarshalByValueComponent.cs
- NavigationProperty.cs
- TableDetailsCollection.cs
- ClientUtils.cs
- KnownIds.cs
- XamlToRtfParser.cs
- PropertyBuilder.cs
- Blend.cs
- MailDefinition.cs
- DefaultObjectMappingItemCollection.cs
- DodSequenceMerge.cs
- TcpDuplicateContext.cs
- DragStartedEventArgs.cs
- XmlAnyElementAttributes.cs
- FirewallWrapper.cs
- TCEAdapterGenerator.cs
- FrameworkElementFactory.cs
- PaintValueEventArgs.cs
- RegexTypeEditor.cs
- InkCanvasFeedbackAdorner.cs
- AdapterDictionary.cs
- CodeSnippetExpression.cs
- BaseHashHelper.cs
- SynchronizingStream.cs
- AuthenticationModuleElementCollection.cs
- XmlSchemaDatatype.cs
- WpfXamlMember.cs
- ControlPager.cs
- DBConnection.cs
- FormsAuthenticationModule.cs
- CreateUserWizard.cs
- SelectorItemAutomationPeer.cs
- FrameDimension.cs
- StatusBarPanel.cs
- TripleDESCryptoServiceProvider.cs
- PersonalizationState.cs
- FastPropertyAccessor.cs
- WindowsGraphics.cs
- XmlSchemaGroupRef.cs
- SupportsEventValidationAttribute.cs
- XmlToDatasetMap.cs
- Code.cs
- PathGeometry.cs
- EqualityComparer.cs
- HScrollProperties.cs
- XmlnsCompatibleWithAttribute.cs
- ArglessEventHandlerProxy.cs
- CreateDataSourceDialog.cs
- HtmlLink.cs
- SelfIssuedSamlTokenFactory.cs
- EnumMemberAttribute.cs
- XmlLoader.cs
- PenContext.cs
- FrameworkElementFactoryMarkupObject.cs
- TextDecorations.cs
- WebDescriptionAttribute.cs
- NegotiateStream.cs
- FontStyleConverter.cs
- DoubleLinkListEnumerator.cs
- CodeIndexerExpression.cs
- ModelUIElement3D.cs
- DataKey.cs
- SiteMapProvider.cs
- ImageKeyConverter.cs
- MouseButton.cs
- WindowsTokenRoleProvider.cs
- Encoder.cs