C# Class Speech.MainPage

Inheritance: PhoneApplicationPage
显示文件 Open project: timothybinkley/Windows-Phone-8-In-Action

Private Properties

Property Type Description
HandleSpeechSynthesisError void
LanguagesListBox_OnSelectionChanged void
Poem_Click void
RegisterVoiceCommands void
SayItButtonClick void
SaySsml_Click void
SayText Task
SetVoice void
SetVoiceFromCommand void
SpeakSsmlFromFile_Click void
UpdatePhraseList void
UpdateVoicesListBox void
VoicesListBox_OnSelectionChanged void
_speechSynthesizer_BookmarkReached void

Public Methods

Method Description
CreateSSMLWithXDocument ( ) : string
CreateSsmlWithXDocument2 ( List poem ) : string
GeneratePoem ( int verseCount, int linesPerVerse ) : List>
MainPage ( ) : System

Protected Methods

Method Description
OnNavigatedTo ( System e ) : void

Private Methods

Method Description
HandleSpeechSynthesisError ( Exception ex ) : void
LanguagesListBox_OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
Poem_Click ( object sender, RoutedEventArgs e ) : void
RegisterVoiceCommands ( ) : void
SayItButtonClick ( object sender, RoutedEventArgs e ) : void
SaySsml_Click ( object sender, RoutedEventArgs e ) : void
SayText ( ) : Task
SetVoice ( object sender ) : void
SetVoiceFromCommand ( string voice, string action ) : void
SpeakSsmlFromFile_Click ( object sender, RoutedEventArgs e ) : void
UpdatePhraseList ( string commandSetName, string phraseListName ) : void
UpdateVoicesListBox ( CultureInfo info ) : void
VoicesListBox_OnSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
_speechSynthesizer_BookmarkReached ( SpeechSynthesizer sender, SpeechBookmarkReachedEventArgs args ) : void

Method Details

CreateSSMLWithXDocument() public method

public CreateSSMLWithXDocument ( ) : string
return string

CreateSsmlWithXDocument2() public method

public CreateSsmlWithXDocument2 ( List poem ) : string
poem List
return string

GeneratePoem() public method

public GeneratePoem ( int verseCount, int linesPerVerse ) : List>
verseCount int
linesPerVerse int
return List>

MainPage() public method

public MainPage ( ) : System
return System

OnNavigatedTo() protected method

protected OnNavigatedTo ( System e ) : void
e System
return void