[Nmailserver-commits] SF.net SVN: nmailserver: [162] NMail/trunk/NMail
Brought to you by:
dframpton-oss,
tmyroadctfig
|
From: <tmy...@us...> - 2007-03-04 05:28:35
|
Revision: 162
http://svn.sourceforge.net/nmailserver/?rev=162&view=rev
Author: tmyroadctfig
Date: 2007-03-03 21:28:35 -0800 (Sat, 03 Mar 2007)
Log Message:
-----------
Changes to CalendarEntry.
Modified Paths:
--------------
NMail/trunk/NMail/DataTypes/Calendar/CalendarEntry.cs
NMail/trunk/NMail/NMail.csproj
Modified: NMail/trunk/NMail/DataTypes/Calendar/CalendarEntry.cs
===================================================================
--- NMail/trunk/NMail/DataTypes/Calendar/CalendarEntry.cs 2007-03-04 05:27:53 UTC (rev 161)
+++ NMail/trunk/NMail/DataTypes/Calendar/CalendarEntry.cs 2007-03-04 05:28:35 UTC (rev 162)
@@ -34,15 +34,15 @@
set { classification = value; }
}
- private List<string> categories;
+ private IList<string> categories = new List<string>();
/// <summary>
/// The categories associated with the entry. (iCal "CATEGORIES")
/// </summary>
- public List<string> Categories {
+ public IList<string> Categories {
get { return categories; }
set { categories = value; }
- }
+ }
private string description;
@@ -90,8 +90,20 @@
#region Relationship Component Properties
- // TODO: array of attendees
+ private IList<Attendee> attendees = new List<Attendee>();
+ /// <summary>
+ /// A list of attendees for the event. (iCal "ATTENDEE")
+ /// </summary>
+ public IList<Attendee> Attendees {
+ get {
+ return this.attendees;
+ }
+ set {
+ this.attendees = value;
+ }
+ }
+
// TODO: contact list
private EmailAddress organiser;
@@ -105,10 +117,36 @@
set { organiser = value;}
}
- // TODO: UID
+ private long entryId;
- // TODO: URL?
+ /// <summary>
+ /// The unique Id for this calendar entry. Specific recurrences of this instance
+ /// can be obtain using this Id in combination with RecurrenceId. (iCal "UID")
+ /// </summary>
+ public long EntryId {
+ get { return entryId; }
+ set { entryId = value; }
+ }
+ private int ownerUserId;
+
+ /// <summary>
+ /// The Id of the user who owns the calender entry.
+ /// </summary>
+ public int OwnerUserId {
+ get { return ownerUserId; }
+ set { ownerUserId = value; }
+ }
+
+ private Calendar calendar;
+
+ /// <summary>
+ /// The calendar that this entry belongs to.
+ /// </summary>
+ public Calendar Calendar {
+ get { return calendar; }
+ set { calendar = value; }
+ }
#endregion
#region Recurrence Component Properties
@@ -125,8 +163,15 @@
// TODO: exdate, exrule
- //TODO: RECURRENCE-ID
+ private DateTime recurrenceId;
+ /// <summary>
+ /// The recurrence Id for this recurrence of the entry. (iCal "RECURRENCE-ID-")
+ /// </summary>
+ public DateTime RecurrenceId {
+ get { return recurrenceId; }
+ set { recurrenceId = value; }
+ }
#endregion
#region Change Management Component Properties
Modified: NMail/trunk/NMail/NMail.csproj
===================================================================
--- NMail/trunk/NMail/NMail.csproj 2007-03-04 05:27:53 UTC (rev 161)
+++ NMail/trunk/NMail/NMail.csproj 2007-03-04 05:28:35 UTC (rev 162)
@@ -137,10 +137,12 @@
<Compile Include="DataTypes\Calendar\Calendar.cs" />
<Compile Include="DataTypes\Calendar\CalendarAlarm.cs" />
<Compile Include="DataTypes\Calendar\CalendarEntry.cs" />
- <Compile Include="DataTypes\Calendar\CalendarEntryStatus.cs" />
- <Compile Include="DataTypes\Calendar\CalendarEvent.cs" />
+ <Compile Include="DataTypes\Calendar\CalendarEntryStatus.cs">
+ <SubType>Code</SubType>
+ </Compile>
<Compile Include="DataTypes\Calendar\CountRecurreneRule.cs" />
<Compile Include="DataTypes\Calendar\DateRecurrenceRule.cs" />
+ <Compile Include="DataTypes\Calendar\EventEntry.cs" />
<Compile Include="DataTypes\Calendar\JournalEntry.cs" />
<Compile Include="DataTypes\Calendar\RecurrenceFrequency.cs" />
<Compile Include="DataTypes\Calendar\RecurrenceRule.cs" />
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|