Method | Description | |
---|---|---|
ConvertFromMorse ( string message ) : string |
Converts a message from morse to english.
|
|
ConvertToMorse ( string message ) : string |
Converts plain text to morse code.
|
|
FindLetter ( string morseVal ) : char |
Finds the character value of a morse code character.
|
|
MainPage ( ) : System | ||
TrimAll ( string str ) : string |
Trim All
|
|
TrimWithRegex ( string str ) : string | ||
ValidEnglish ( string message ) : bool |
Validates english to see if it can be converted to morse code.
|
|
ValidMessage ( string message, bool isMorseForm = false ) : bool |
Checks if a message is valid and won't throw errors when being played.
|
|
ValidMorse ( string message ) : bool |
Validates a morse message.
|
Method | Description | |
---|---|---|
appBarButtonCopyClick ( object sender, |
||
appBarButtonDecodeClick ( object sender, |
||
appBarButtonDeleteClick ( object sender, |
||
appBarButtonEncodeClick ( object sender, |
||
mainPivotSelectionChanged ( object sender, |
||
showAbout ( object sender, |
public static ConvertFromMorse ( string message ) : string | ||
message | string | The message. |
return | string |
public static ConvertToMorse ( string message ) : string | ||
message | string | The plain text. |
return | string |
public static FindLetter ( string morseVal ) : char | ||
morseVal | string | The morse code of the character. |
return | char |
public static TrimAll ( string str ) : string | ||
str | string | |
return | string |
public static TrimWithRegex ( string str ) : string | ||
str | string | |
return | string |
public static ValidEnglish ( string message ) : bool | ||
message | string | The message. |
return | bool |
public static ValidMessage ( string message, bool isMorseForm = false ) : bool | ||
message | string | The message to check. |
isMorseForm | bool | Whether the message is in morse form. |
return | bool |
public static ValidMorse ( string message ) : bool | ||
message | string | The message. |
return | bool |