public static string GetSenderEmailAddressOrNull(AppointmentItem source, IEntityMappingLogger logger, ILog generalLogger) { try { return(source.GetPropertySafe(PR_SENDER_EMAIL_ADDRESS)); } catch (COMException ex) { generalLogger.Warn("Can't access property PR_SENDER_EMAIL_ADDRESS of appointment", ex); logger.LogMappingWarning("Can't access property PR_SENDER_EMAIL_ADDRESS of appointment", ex); return(null); } }
public static string GetSenderEmailAddressOrNull (AppointmentItem source, IEntityMappingLogger logger, ILog generalLogger) { try { return source.GetPropertySafe (PR_SENDER_EMAIL_ADDRESS); } catch (COMException ex) { generalLogger.Warn ("Can't access property PR_SENDER_EMAIL_ADDRESS of appointment", ex); logger.LogMappingWarning ("Can't access property PR_SENDER_EMAIL_ADDRESS of appointment", ex); return null; } }