FilePrompt.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 / Synthesis / FilePrompt.cs / 1 / FilePrompt.cs

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

using System; 
using System.Diagnostics; 
using System.IO;
using System.Speech.Internal; 

namespace System.Speech.Synthesis
{
    ///  
    /// TODOC
    ///  
    [DebuggerDisplay("{_text}")] 
    public class FilePrompt : Prompt
    { 
        //*******************************************************************
        //
        // Constructors
        // 
        //*******************************************************************
 
        #region Constructors 

        ///  
        /// TODOC
        /// 
        /// 
        ///  
        /// 
        public FilePrompt(string path, SynthesisMediaType media) 
            : this (new Uri (path, UriKind.Relative), media) 
        {
        } 

        /// 
        /// TODOC
        ///  
        /// 
        ///  
        public FilePrompt(Uri promptFile, SynthesisMediaType media) 
            : base(promptFile, media)
        { 
        }
        #endregion
    }
} 

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

using System; 
using System.Diagnostics; 
using System.IO;
using System.Speech.Internal; 

namespace System.Speech.Synthesis
{
    ///  
    /// TODOC
    ///  
    [DebuggerDisplay("{_text}")] 
    public class FilePrompt : Prompt
    { 
        //*******************************************************************
        //
        // Constructors
        // 
        //*******************************************************************
 
        #region Constructors 

        ///  
        /// TODOC
        /// 
        /// 
        ///  
        /// 
        public FilePrompt(string path, SynthesisMediaType media) 
            : this (new Uri (path, UriKind.Relative), media) 
        {
        } 

        /// 
        /// TODOC
        ///  
        /// 
        ///  
        public FilePrompt(Uri promptFile, SynthesisMediaType media) 
            : base(promptFile, media)
        { 
        }
        #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