ics classes, statics

This commit is contained in:
Christian Fiedler
2013-09-03 18:49:52 +02:00
parent 53fb8599d1
commit f73d722555
3 changed files with 724 additions and 320 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -64,6 +64,13 @@ namespace CampusAppWP8.Utility
public void ImportFromICS(string icsData)
{
string t1 = ICSClasses.Attachment.Name;
string t2 = ICSClasses.Categories.Name;
ICSClasses.Attachment o1 = new ICSClasses.Attachment();
ICSClasses.Categories o2 = new ICSClasses.Categories();
List<Tuple<string, string[]>> l1 = ICSClasses.Attachment.PParams;
List<Tuple<string, string[]>> l2 = ICSClasses.Categories.PParams;
string[] elems = Regex.Split(this.Unfold(icsData), "\r\n");
List<ICSDict.ICSValueDesc> parentList = new List<ICSDict.ICSValueDesc>();

View File

@@ -442,7 +442,7 @@ namespace CampusAppWP8.Utility
public const string VEVENT = "VEVENT";
// 1-1
public const string DT_STAMP = "DTSTAMP";
public const string USER_ID = "UID";
public const string UNIQUE_ID = "UID";
// if METHOD is NOT set: 1-1
// otherwise: 0-1
public const string DT_START = "DTSTART";
@@ -581,7 +581,7 @@ namespace CampusAppWP8.Utility
public const string SENT_BY = "SENT-BY";
public const string TIME_ZONE_ID = "TZID";
public const string VALUE_TYPE = "VALUE";
public const string NONE = string.Empty;
public const string NONE = "";
}
public class ICSValue
@@ -671,5 +671,7 @@ namespace CampusAppWP8.Utility
public const string TIME = "TIME";
public const string URI = "URI";
public const string UTC_OFFSET = "UTC-OFFSET";
// PARTSTAT
public const string IN_PROCESS = "IN-PROCESS";
}
}