public Candidate()
 {
     RegistrationDetails      = new RegistrationDetails();
     ApplicationTemplate      = new ApplicationTemplate();
     CommunicationPreferences = new CommunicationPreferences();
     HelpPreferences          = new HelpPreferences();
     MonitoringInformation    = new MonitoringInformation();
     SubscriberId             = Guid.NewGuid();
 }
 public static IEnumerable <CommunicationPreference> IndividualCommunicationPreferences(
     CommunicationPreferences communicationPreferences)
 {
     return(new[]
     {
         communicationPreferences.ApplicationStatusChangePreferences,
         communicationPreferences.ExpiringApplicationPreferences,
         communicationPreferences.SavedSearchPreferences,
         communicationPreferences.MarketingPreferences
     });
 }
 private static bool IsAnyTextCommunicationEnabled(CommunicationPreferences communicationPreferences)
 {
     return(IndividualCommunicationPreferences(communicationPreferences).Any(each => each.EnableText));
 }
Beispiel #4
0
 public Candidate()
 {
     RegistrationDetails      = new RegistrationDetails();
     ApplicationTemplate      = new ApplicationTemplate();
     CommunicationPreferences = new CommunicationPreferences();
 }