Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
VerifyCodeNavigationArgs.cs
1using CommunityToolkit.Mvvm.Input;
3
5{
6 public interface ICodeVerification
7 {
8 int CountDownSeconds { get; set; }
9 IDispatcherTimer CountDownTimer { get; }
10 IAsyncRelayCommand ResendCodeCommand { get; }
11 }
12
16 public class VerifyCodeNavigationArgs(ICodeVerification? CodeVerification = null, string? PhoneOrEmail = null) : NavigationArgs
17 {
21 public VerifyCodeNavigationArgs() : this(null) { }
22
26 public ICodeVerification? CodeVerification { get; } = CodeVerification;
27
31 public string? PhoneOrEmail { get; } = PhoneOrEmail;
32
36 public TaskCompletionSource<string?>? VarifyCode { get; internal set; } = new();
37 }
38}
An base class holding page specific navigation parameters.