/// <summary> /// Creates a Registrant entity from the response /// </summary> /// <param name="registrantRespons"></param> public Registrant(RegistrantResponse registrantResponse) { this.Email = registrantResponse.Email; this.FirstName = registrantResponse.FirstName; this.JoinUrl = registrantResponse.JoinUrl; this.LastName = registrantResponse.LastName; this.RegistrationDate = DateTime.Parse(registrantResponse.RegistrationDate, null, System.Globalization.DateTimeStyles.RoundtripKind); this.RegistrantKey = registrantResponse.RegistrantKey; this.Status = registrantResponse.Status; this.TimeZone = registrantResponse.TimeZone; this.WebinarKey = registrantResponse.WebinarKey; }
/// <summary> /// Creates a Registrant entity from the response /// </summary> /// <param name="registrantRespons"></param> public Registrant(RegistrantResponse registrantResponse) { this.Email = registrantResponse.Email; this.FirstName = registrantResponse.FirstName; this.JoinUrl = registrantResponse.JoinUrl; this.LastName = registrantResponse.LastName; this.RegistrationDate = DateTime.Parse(registrantResponse.RegistrationDate, null, System.Globalization.DateTimeStyles.RoundtripKind); this.RegistrantKey = registrantResponse.RegistrantKey; this.Status = registrantResponse.Status; this.TimeZone = registrantResponse.TimeZone; this.WebinarKey = registrantResponse.WebinarKey; }