C# Class GitHub.Authentication.ViewModels.TwoFactorViewModel

Simple view model for the GitHub Two Factor dialog.
Inheritance: DialogViewModel
Afficher le fichier Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Méthodes publiques

Méthode Description
TwoFactorViewModel ( ) : System.Windows.Input

This is used by the GitHub.Authentication test application

TwoFactorViewModel ( bool isSms ) : System.Windows.Input

This quite obviously creates an instance of a TwoFactorViewModel.

Private Methods

Méthode Description
HyperLinkCommand ( ) : System.Windows.Input

Method Details

TwoFactorViewModel() public méthode

This is used by the GitHub.Authentication test application
public TwoFactorViewModel ( ) : System.Windows.Input
Résultat System.Windows.Input

TwoFactorViewModel() public méthode

This quite obviously creates an instance of a TwoFactorViewModel.
public TwoFactorViewModel ( bool isSms ) : System.Windows.Input
isSms bool True if the 2fa authentication code is sent via SMS
Résultat System.Windows.Input