This class takes multiple calendar properties/property values
and consolidates them into a single list.
Namespace: iCalExamples
Consider the following example:
BEGIN:VEVENT
CATEGORIES:APPOINTMENT,EDUCATION
CATEGORIES:MEETING
END:EVENT
When we process this event, we don't really care that there
are 2 different CATEGORIES properties, no do we care that
the first CATEGORIES property has 2 values, whereas the
second CATEGORIES property only has 1 value. In the end,
we want a list of 3 values: APPOINTMENT, EDUCATION, and MEETING.
This class consolidates properties of a given name into a list,
and allows you to work with those values directly against the
properties themselves. This preserves the notion that our values
are still stored directly within the calendar property, but gives
us the flexibility to work with multiple properties through a
single (composite) list.
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public class CalendarPropertyCompositeList<T> : ICalendarPropertyCompositeList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable |
Visual Basic |
---|
Public Class CalendarPropertyCompositeList(Of T) _ Implements ICalendarPropertyCompositeList(Of T), IList(Of T), _ ICollection(Of T), IEnumerable(Of T), IEnumerable |
Visual C++ |
---|
generic<typename T> public ref class CalendarPropertyCompositeList : ICalendarPropertyCompositeList<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable |
Type Parameters
- T