ReplacementText.cs source code in C# .NET

Source code for the .NET framework in C#

                        

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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK