C# 클래스 Old_Drivers.MainPage

可用于自身或导航至 Frame 内部的空白页。
상속: Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: Garfield550/Old-Drivers

공개 메소드들

메소드 설명
ConvertFromMorse ( string message ) : string

Converts a message from morse to english. This code is protected under the MIT License.

ConvertToMorse ( string message ) : string

Converts plain text to morse code. This code is protected under the MIT License.

FindLetter ( string morseVal ) : char

Finds the character value of a morse code character. This code is protected under the MIT License.

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. This code is protected under the MIT License.

ValidMessage ( string message, bool isMorseForm = false ) : bool

Checks if a message is valid and won't throw errors when being played. This code is protected under the MIT License.

ValidMorse ( string message ) : bool

Validates a morse message. This code is protected under the MIT License.

비공개 메소드들

메소드 설명
appBarButtonCopyClick ( object sender, RoutedEventArgs e ) : void
appBarButtonDecodeClick ( object sender, RoutedEventArgs e ) : void
appBarButtonDeleteClick ( object sender, RoutedEventArgs e ) : void
appBarButtonEncodeClick ( object sender, RoutedEventArgs e ) : void
mainPivotSelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
showAbout ( object sender, RoutedEventArgs e ) : void

메소드 상세

ConvertFromMorse() 공개 정적인 메소드

Converts a message from morse to english. This code is protected under the MIT License.
public static ConvertFromMorse ( string message ) : string
message string The message.
리턴 string

ConvertToMorse() 공개 정적인 메소드

Converts plain text to morse code. This code is protected under the MIT License.
public static ConvertToMorse ( string message ) : string
message string The plain text.
리턴 string

FindLetter() 공개 정적인 메소드

Finds the character value of a morse code character. This code is protected under the MIT License.
public static FindLetter ( string morseVal ) : char
morseVal string The morse code of the character.
리턴 char

MainPage() 공개 메소드

public MainPage ( ) : System
리턴 System

TrimAll() 공개 정적인 메소드

Trim All
public static TrimAll ( string str ) : string
str string
리턴 string

TrimWithRegex() 공개 정적인 메소드

public static TrimWithRegex ( string str ) : string
str string
리턴 string

ValidEnglish() 공개 정적인 메소드

Validates english to see if it can be converted to morse code. This code is protected under the MIT License.
public static ValidEnglish ( string message ) : bool
message string The message.
리턴 bool

ValidMessage() 공개 정적인 메소드

Checks if a message is valid and won't throw errors when being played. This code is protected under the MIT License.
public static ValidMessage ( string message, bool isMorseForm = false ) : bool
message string The message to check.
isMorseForm bool Whether the message is in morse form.
리턴 bool

ValidMorse() 공개 정적인 메소드

Validates a morse message. This code is protected under the MIT License.
public static ValidMorse ( string message ) : bool
message string The message.
리턴 bool