32 private readonly
string? description;
34 private readonly TaskCompletionSource<ContactInfoModel?>? selection;
78 public TaskCompletionSource<ContactInfoModel?>?
Selection => this.selection;
98 public IEnumerable<ContactInfo>?
Contacts {
get;
set; }
An base class holding page specific navigation parameters.
Holds navigation parameters specific to views displaying a list of contacts.
SelectContactAction? Action
Action to take when a contact has been selected.
TaskCompletionSource< ContactInfoModel?>? Selection
Selection source, if selecting identity.
string? AnonymousText
String to display on the anonymous button
ContactListNavigationArgs(string Description, SelectContactAction Action)
Creates an instance of the ContactListNavigationArgs class.
string? Description
Description presented to user.
IEnumerable< ContactInfo >? Contacts
Any preloaded contacts
bool AllowAnonymous
If user is allowed to select an Anonymous option.
ContactListNavigationArgs(string Description, TaskCompletionSource< ContactInfoModel?> Selection)
Creates an instance of the ContactListNavigationArgs class.
ContactListNavigationArgs()
Creates an instance of the ContactListNavigationArgs class.
bool CanScanQrCode
If the user should be able to scane QR Codes.
SelectContactAction
Actions to take when a contact has been selected.