private async void UserFilterFromDetection(object sender, UserPresence.UserIdentifiedEventArgs e) { //this.Public_ShowNotesForPerson(e.User); string thisName = e.User; foreach (Person person in Persons) { if (person.Name == thisName || thisName.Contains(person.Name)) { thisPerson = person; UpdateGreeting(thisPerson); break; } } }
private void UserFilterFromDetection(object sender, UserPresence.UserIdentifiedEventArgs e) { this.Public_ShowNotesForPerson(e.User); UpdateGreeting(e.User); }