SpeakProgressEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Synthesis / SpeakProgressEventArgs.cs / 1 / SpeakProgressEventArgs.cs

                            //------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------- 

using System; 
 
namespace System.Speech.Synthesis
{ 
 	/// 
	/// TODOC - Summary description for SpeakProgressEventArgs.
	/// 
	public class SpeakProgressEventArgs : PromptEventArgs 
 	{
		//******************************************************************* 
 		// 
 		// Constructors
		// 
 		//*******************************************************************

		#region Constructors
 
        /// 
        /// TODOC 
        ///  
        /// 
        ///  
        /// 
        /// 
        internal SpeakProgressEventArgs (Prompt prompt, TimeSpan audioPosition, int iWordPos, int cWordLen) : base (prompt)
        { 
            _audioPosition = audioPosition;
            _iWordPos = iWordPos; 
            _cWordLen = cWordLen; 
        }
		#endregion 

		//********************************************************************
 		//
		// Public Properties 
 		//
 		//******************************************************************* 
 
		#region public Properties
 
 		/// 
		/// TODOC
		/// 
		///  
 		public TimeSpan AudioPosition
		{ 
 			get 
 			{
				return _audioPosition; 
 			}
		}

        ///  
        /// TODOC
        ///  
        ///  
        public int CharacterPosition
        { 
            get
            {
                return _iWordPos;
            } 
        }
 
        ///  
        /// TODOC
        ///  
        /// 
        public int CharacterCount
        {
            get 
            {
                return _cWordLen; 
            } 
            internal set
            { 
                _cWordLen = value;
            }
        }
 
        /// 
        /// TODOC 
        ///  
        /// 
        public string Text 
        {
            get
            {
                return _word; 
            }
            internal set 
            { 
                _word = value;
            } 
        }

        #endregion
 
        //********************************************************************
		// 
		// Private Fields 
 		//
		//******************************************************************** 

 		#region Private Fields

 		private TimeSpan _audioPosition; 
        private int _iWordPos;
        private int _cWordLen; 
        private string _word; 

		#endregion 
 	}
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------- 

using System; 
 
namespace System.Speech.Synthesis
{ 
 	/// 
	/// TODOC - Summary description for SpeakProgressEventArgs.
	/// 
	public class SpeakProgressEventArgs : PromptEventArgs 
 	{
		//******************************************************************* 
 		// 
 		// Constructors
		// 
 		//*******************************************************************

		#region Constructors
 
        /// 
        /// TODOC 
        ///  
        /// 
        ///  
        /// 
        /// 
        internal SpeakProgressEventArgs (Prompt prompt, TimeSpan audioPosition, int iWordPos, int cWordLen) : base (prompt)
        { 
            _audioPosition = audioPosition;
            _iWordPos = iWordPos; 
            _cWordLen = cWordLen; 
        }
		#endregion 

		//********************************************************************
 		//
		// Public Properties 
 		//
 		//******************************************************************* 
 
		#region public Properties
 
 		/// 
		/// TODOC
		/// 
		///  
 		public TimeSpan AudioPosition
		{ 
 			get 
 			{
				return _audioPosition; 
 			}
		}

        ///  
        /// TODOC
        ///  
        ///  
        public int CharacterPosition
        { 
            get
            {
                return _iWordPos;
            } 
        }
 
        ///  
        /// TODOC
        ///  
        /// 
        public int CharacterCount
        {
            get 
            {
                return _cWordLen; 
            } 
            internal set
            { 
                _cWordLen = value;
            }
        }
 
        /// 
        /// TODOC 
        ///  
        /// 
        public string Text 
        {
            get
            {
                return _word; 
            }
            internal set 
            { 
                _word = value;
            } 
        }

        #endregion
 
        //********************************************************************
		// 
		// Private Fields 
 		//
		//******************************************************************** 

 		#region Private Fields

 		private TimeSpan _audioPosition; 
        private int _iWordPos;
        private int _cWordLen; 
        private string _word; 

		#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