C# Class lageant.ViewModels.KeyCalculationViewModel

Inheritance: Caliburn.Micro.Screen
显示文件 Open project: bitbeans/lageant Class Usage Examples

Public Methods

Method Description
GenerateKeyFromInput ( ) : void
PasswordChanged ( RoutedEventArgs e ) : void

User password changed.

UsernameChanged ( RoutedEventArgs e ) : void

User name changed.

Private Methods

Method Description
CalculateNewKey ( KeyType keyType, string userInputOne, string userInputTwo ) : Task

Calculate a new key.

KeyCalculationViewModel ( ) : System
SetSelection ( System.Windows.Controls.PasswordBox passwordBox, int start, int length ) : void

Sets the cursor to a given selection.

Method Details

GenerateKeyFromInput() public method

public GenerateKeyFromInput ( ) : void
return void

PasswordChanged() public method

User password changed.
public PasswordChanged ( RoutedEventArgs e ) : void
e RoutedEventArgs
return void

UsernameChanged() public method

User name changed.
public UsernameChanged ( RoutedEventArgs e ) : void
e RoutedEventArgs
return void