C# Class GitHub.Authentication.ViewModels.TwoFactorViewModel

Simple view model for the GitHub Two Factor dialog.
Inheritance: DialogViewModel
ファイルを表示 Open project: Microsoft/Git-Credential-Manager-for-Windows Class Usage Examples

Public Methods

Method 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

Method Description
HyperLinkCommand ( ) : System.Windows.Input

Method Details

TwoFactorViewModel() public method

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

TwoFactorViewModel() public method

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
return System.Windows.Input