protected override bool PerformTryGetValue(ICalendarItemBase container, out IList <Attendee> value) { AttendeeConverter converter = this.GetConverter(container); IEnumerable <Attendee> enumerable = converter.Convert(container.AttendeeCollection); value = ((enumerable == null) ? null : enumerable.ToList <Attendee>()); return(enumerable != null); }
protected override void PerformSet(ICalendarItemBase container, IList <Attendee> value) { AttendeeConverter converter = this.GetConverter(container); converter.ToXso(value, container); }
public AttendeeBusiness(AttendeeConverter attendeeConverter, IAttendeeRepository attendeeRepository) { _attendeeRepository = attendeeRepository; _attendeeConverter = attendeeConverter; }