daily
This commit is contained in:
@@ -78,7 +78,7 @@ namespace CampusAppWP8.Feed.TimeTable
|
||||
|
||||
for (int i = 0; i < appStr.Length; i++)
|
||||
{
|
||||
if (appStr.Length > 0)
|
||||
if (appStr[i].Length > 0)
|
||||
{
|
||||
appStr[i] = appStr[i].Replace("<appointment>", string.Empty);
|
||||
|
||||
|
||||
@@ -24,16 +24,6 @@ namespace CampusAppWP8.Pages.TimeTable
|
||||
|
||||
public partial class TimeTable : PhoneApplicationPage
|
||||
{
|
||||
private static AppointmentListModel appList //= null;
|
||||
= new AppointmentListModel(new AppointmentModel[] {
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:ownCloud Calendar 0.6.3\r\nX-WR-CALNAME:Das is der Titel\r\nBEGIN:VEVENT\r\nCREATED;VALUE=DATE-TIME:20130827T113216Z\r\nUID:c9904ea73c\r\nLAST-MODIFIED;VALUE=DATE-TIME:20130827T113216Z\r\nDTSTAMP;VALUE=DATE-TIME:20130827T113216Z\r\nSUMMARY:Das is der Titel\r\nDTSTART;VALUE=DATE-TIME:20131023T113500Z\r\nDTEND;VALUE=DATE-TIME:20131023T212000Z\r\nCLASS:PUBLIC\r\nLOCATION:BTU Campus\r\nDESCRIPTION:For Outlook 2003, the behavior is peculiar. It can save the sa\r\n me calendar entry in both .ics and .vcs format, but it only read & displa\r\n y .vcs file correctly. It can read .ics file but it omits some fields and \r\n does not display it in calendar mode. My guess is that back then Microsoft\r\n wanted to provide .ics to be compatible with Mac's iCal but not quite com\r\n mitted to v2.0 yet.\r\nCATEGORIES:Projekte\r\nEND:VEVENT\r\nEND:VCALENDAR"),
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:http://www.example.com/calendarapplication/\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nUID:461092315540@example.com\r\nORGANIZER:MAILTO:alice@example.com\r\nLOCATION:Somewhere\r\nSUMMARY:Eine Kurzinfo welche einen etwas längeren titel enthält\r\nDESCRIPTION:Beschreibung des Termines\r\nCLASS:PUBLIC\r\nDTSTART:20131023T110000Z\r\nDTEND:20131024T113000Z\r\nDTSTAMP:20131003T125900Z\r\nPRIORITY:3\r\nEND:VEVENT\r\nEND:VCALENDAR"),
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//hacksw/handcal//NONSGML v1.0//EN\r\nBEGIN:VEVENT\r\nUID:uid1@example.com\r\nDTSTAMP:19970714T170000Z\r\nORGANIZER;CN=John Doe:MAILTO:john.doe@example.com\r\nDTSTART:20131025T150000Z\r\nDTEND:20131025T170000Z\r\nSUMMARY:Bastille Day Party\r\nEND:VEVENT\r\nEND:VCALENDAR"),
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nVERSION:1.0\r\nBEGIN:VEVENT\r\nCATEGORIES:MEETING\r\nSTATUS:TENTATIVE\r\nDTSTART:20130917T033000Z\r\nDTEND:20130917T043000Z\r\nSUMMARY:Your Proposal Review\r\nDESCRIPTION:Steve and John to review newest proposal material bla fsdfasfsdfsdfgsdafg sfdgfdsgf dsfg dsfgds fgds\r\nCLASS:PRIVATE\r\nEND:VEVENT\r\nEND:VCALENDAR"),
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nPRODID:-//bobbin v0.1//NONSGML iCal Writer//EN\r\nVERSION:2.0\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nDTSTART:20130918T080000Z\r\nDTEND:20130918T110000Z\r\nDTSTAMP:20091130T213238Z\r\nUID:1285935469767a7c7c1a9b3f0df8003a@yoursever.com\r\nCREATED:20091130T213238Z\r\nDESCRIPTION:Example event 1\r\nLAST-MODIFIED:20091130T213238Z\r\nSEQUENCE:0\r\nSTATUS:CONFIRMED\r\nSUMMARY:Example event 1\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR"),
|
||||
new AppointmentModel("BEGIN:VCALENDAR\r\nPRODID:-//bobbin v0.1//NONSGML iCal Writer//EN\r\nVERSION:2.0\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nDTSTART:20130914T120000Z\r\nDTEND:20130914T140000Z\r\nDTSTAMP:20091130T213238Z\r\nUID:1285935469767a7c7c1a9b3f0df8003a@yoursever.com\r\nCREATED:20091130T213238Z\r\nDESCRIPTION:Example event 1\r\nLAST-MODIFIED:20091130T213238Z\r\nSEQUENCE:0\r\nSTATUS:CONFIRMED\r\nSUMMARY:Example event 1\r\nTRANSP:OPAQUE\r\nEND:VEVENT\r\nEND:VCALENDAR")
|
||||
});
|
||||
|
||||
public static int Setting_AutoScrollToHour = 7;
|
||||
public static int Setting_VisualScale = 0; //0 - small, 1 - medium, 2 - large UNUSED ATM
|
||||
public static double Setting_Hour_Spacing = 40;
|
||||
|
||||
@@ -149,34 +149,26 @@ namespace CampusAppWP8.Pages.TimeTable
|
||||
|
||||
private void OnClickDayView(object sender, EventArgs e)
|
||||
{
|
||||
/********* REMOVED FOR TESTING ********
|
||||
Uri url = new Uri(Constants.PathTimeTable_Day, UriKind.Relative);
|
||||
Page page = App.RootFrame.Content as Page;
|
||||
page.NavigationService.Navigate(url);
|
||||
*/
|
||||
// this.itemPages[this.ThePivot.SelectedIndex].weekView.SetColumnBackground(0, new SolidColorBrush(Colors.Red));
|
||||
(this.ThePivot.SelectedItem as WeekViewPageItem).AppointmentList.Add(TimeTable.Feed.Model.Appointments[1]);
|
||||
}
|
||||
|
||||
private void OnClickToday(object sender, EventArgs e)
|
||||
{
|
||||
/******* REMOVED FOR TESTING ********
|
||||
DateTime firstDay = this.GetFirstDayOfWeek(DateTime.Now).AddDays(-7 * PIVOT_PAGES_HALF_DOWN);
|
||||
this.ThePivot.SelectedIndex = PIVOT_PAGES_HALF_DOWN;
|
||||
|
||||
for (int i = 0; i < PIVOT_PAGES; i++)
|
||||
{
|
||||
this.itemPages[i].DateFrom = firstDay;
|
||||
this.itemPages[i].DateTo = this.itemPages[i].DateFrom.AddDays(6);
|
||||
this.itemPages[i].WeekNumber = this.GetWeekNumber(this.itemPages[i].DateFrom);
|
||||
this.itemPages[i].WeekChar = ((this.itemPages[i].WeekNumber % 2) == 0) ? 'B' : 'A';
|
||||
this.itemList[i].FromDT = firstDay;
|
||||
this.itemList[i].ToDT = this.itemList[i].FromDT.AddDays(6);
|
||||
this.itemList[i].WeekNr = this.GetWeekNumber(this.itemList[i].FromDT);
|
||||
this.itemList[i].WeekStr = ((this.itemList[i].WeekNr % 2) == 0) ? "B" : "A";
|
||||
|
||||
firstDay = firstDay.AddDays(7);
|
||||
|
||||
this.SetupPage(i);
|
||||
}
|
||||
*/
|
||||
//this.itemPages[this.ThePivot.SelectedIndex].weekView.SetColumnBackground(0);
|
||||
//maybe FIXME
|
||||
}
|
||||
|
||||
private void OnClickProperties(object sender, EventArgs e)
|
||||
@@ -328,8 +320,6 @@ namespace CampusAppWP8.Pages.TimeTable
|
||||
this.itemList[i].AppointmentList.Add(tempModel);
|
||||
}
|
||||
}
|
||||
|
||||
TimeTable.Feed.SaveData(true);
|
||||
}
|
||||
else if (e.Action == NotifyCollectionChangedAction.Remove)
|
||||
{
|
||||
|
||||
@@ -204,16 +204,16 @@ namespace CampusAppWP8.Utility
|
||||
int val = 0;
|
||||
char typeChar;
|
||||
|
||||
for (int i = 0; i < durStr.Length; i++)
|
||||
for (int i = 0; i < str.Length; i++)
|
||||
{
|
||||
if (durStr[i] >= '0' && durStr[i] <= '9')
|
||||
if (str[i] >= '0' && str[i] <= '9')
|
||||
{
|
||||
val *= 10;
|
||||
val += durStr[0] - '0';
|
||||
val += str[i] - '0';
|
||||
}
|
||||
else
|
||||
{
|
||||
typeChar = durStr[i];
|
||||
typeChar = str[i];
|
||||
retValue.Add(new Tuple<int, char>(val, typeChar));
|
||||
val = 0;
|
||||
}
|
||||
@@ -276,6 +276,8 @@ namespace CampusAppWP8.Utility
|
||||
/// <remarks>Fiedler, 05.09.2013.</remarks>
|
||||
public abstract class Interface
|
||||
{
|
||||
protected string privateName = string.Empty;
|
||||
|
||||
/// <summary>Sets the property/class values. Used for import from a ICS file.</summary>
|
||||
/// <remarks>Fiedler, 05.09.2013.</remarks>
|
||||
/// <param name="valueStr">The value string.</param>
|
||||
|
||||
@@ -48,52 +48,55 @@ namespace CampusAppWP8.Utility
|
||||
|
||||
foreach (string e in elems)
|
||||
{
|
||||
ContentLine prop = ICSManager.ToContentLine(e);
|
||||
ICSDict.ICSElemDesc tempElem = null;
|
||||
|
||||
if ((tempElem = parentList.Last().GetValue(prop.Name)) != null)
|
||||
if (e.Length > 0)
|
||||
{
|
||||
object propObj = tempElem.CreateObj(prop.ValueString, (prop.ParamList == null) ? null : prop.ParamList.ToArray());
|
||||
ContentLine prop = ICSManager.ToContentLine(e);
|
||||
ICSDict.ICSElemDesc tempElem = null;
|
||||
|
||||
if (ICSManager.Is((propObj as ICSClasses.Interface).GetName(), ICSTag.BEGIN))
|
||||
if ((tempElem = parentList.Last().GetValue(prop.Name)) != null)
|
||||
{
|
||||
retPointer = new ICalObject();
|
||||
object propObj = tempElem.CreateObj(prop.ValueString, (prop.ParamList == null) ? null : prop.ParamList.ToArray());
|
||||
|
||||
if (retValue == null)
|
||||
if (ICSManager.Is((propObj as ICSClasses.Interface).GetName(), ICSTag.BEGIN))
|
||||
{
|
||||
retValue = retPointer;
|
||||
retPointer = new ICalObject();
|
||||
|
||||
if (retValue == null)
|
||||
{
|
||||
retValue = retPointer;
|
||||
}
|
||||
else
|
||||
{
|
||||
// FIXME
|
||||
retValue.PropertieList.Add(retPointer);
|
||||
}
|
||||
|
||||
retPointer.Header = propObj as ICSProperties.Begin;
|
||||
|
||||
parentList.Add(ICSManager.GetSubValue((propObj as ICSProperties.Begin).Value, tempElem));
|
||||
}
|
||||
else if (ICSManager.Is((propObj as ICSClasses.Interface).GetName(), ICSTag.END))
|
||||
{
|
||||
if (ICSManager.GetSubValue((propObj as ICSProperties.End).Value, tempElem) != null)
|
||||
{
|
||||
parentList.RemoveAt(parentList.Count - 1);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// FIXME
|
||||
retValue.PropertieList.Add(retPointer);
|
||||
retPointer.PropertieList.Add(propObj);
|
||||
}
|
||||
|
||||
retPointer.Header = propObj as ICSProperties.Begin;
|
||||
|
||||
parentList.Add(ICSManager.GetSubValue((propObj as ICSProperties.Begin).Value, tempElem));
|
||||
}
|
||||
else if (ICSManager.Is((propObj as ICSClasses.Interface).GetName(), ICSTag.END))
|
||||
else
|
||||
{
|
||||
if (ICSManager.GetSubValue((propObj as ICSProperties.End).Value, tempElem) != null)
|
||||
if (prop.Name.IndexOf("X-") == 0)
|
||||
{
|
||||
parentList.RemoveAt(parentList.Count - 1);
|
||||
// TODO
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("Tag (" + prop.Name + ") was not found in (" + parentList.Last().Name + ")");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
retPointer.PropertieList.Add(propObj);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (prop.Name.IndexOf("X-") == 0)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("Tag (" + prop.Name + ") was not found in (" + parentList.Last().Name + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
ICSValue.PRIVATE,
|
||||
ICSValue.CONFIDENTIAL
|
||||
});
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -76,7 +77,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList.Count() > 0)
|
||||
{
|
||||
throw new NotSupportedException("in (" + Name + ") is no param supported");
|
||||
throw new NotSupportedException("in (" + this.privateName + ") is no param supported");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +96,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <returns>The string. </returns>
|
||||
public override string GetString()
|
||||
{
|
||||
return Name + ":" + this.value;
|
||||
return this.privateName + ":" + this.value;
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Action()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -95,7 +96,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Attachment()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value bytes. </summary>
|
||||
@@ -182,7 +183,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.formatType.Equals(string.Empty) == false)
|
||||
{
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Attendee()
|
||||
{
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -112,7 +113,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
|
||||
if (p.Count() != 2)
|
||||
{
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + Name + ")");
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (ICSClasses.CheckParamAndParamValue(p[0], p[1], PParams.ToArray()))
|
||||
@@ -121,7 +122,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[i] + ") in (" + Name + ")");
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[i] + ") in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -136,7 +137,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
for (int i = 0; i < this.paramList.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Begin()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -99,7 +100,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public CalendarScale()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -91,7 +92,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Categories()
|
||||
{
|
||||
this.valueList = new List<string>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -114,7 +115,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.languageType.Equals(string.Empty) == false)
|
||||
{
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Comment()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -132,7 +133,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.altrep.Equals(string.Empty) == false)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Contact()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public DTCompleted()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the Date/Time of the value. </summary>
|
||||
@@ -60,7 +61,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +74,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = ICSClasses.UTCStringToDateTime(valueStr);
|
||||
@@ -86,7 +87,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + ICSClasses.DateTimeToString(this.value);
|
||||
retValue += this.privateName + ":" + ICSClasses.DateTimeToString(this.value);
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTCreated()
|
||||
{
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the Date/Time of the value. </summary>
|
||||
@@ -95,7 +96,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
|
||||
if (p.Count() != 2)
|
||||
{
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + Name + ")");
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (ICSClasses.CheckParamAndParamValue(p[0], p[1], PParams.ToArray()))
|
||||
@@ -104,7 +105,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[i] + ") in (" + Name + ")");
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[i] + ") in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -119,7 +120,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + ICSClasses.DateTimeToString(this.value);
|
||||
retValue += this.privateName + ":" + ICSClasses.DateTimeToString(this.value);
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTDue()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTEnd()
|
||||
{
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the Date/Time of the value. </summary>
|
||||
@@ -135,7 +136,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList.Count() > 2)
|
||||
{
|
||||
throw new NotSupportedException("too many params in (" + Name + ")");
|
||||
throw new NotSupportedException("too many params in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
for (int i = 0; i < paramStrList.Count(); i++)
|
||||
@@ -162,7 +163,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("param (" + p[0] + ") is not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("param (" + p[0] + ") is not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -178,7 +179,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
|
||||
if (isDate != tempIsDate)
|
||||
{
|
||||
throw new NotSupportedException("time value has not the same type as declared in param in(" + Name + ")");
|
||||
throw new NotSupportedException("time value has not the same type as declared in param in(" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = ICSClasses.UTCStringToDateTime(valueStr);
|
||||
@@ -191,7 +192,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
for (int i = 0; i < this.paramList.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTException()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
this.values = new List<Tuple<DateTime, DateTime, TimeSpan, bool>>();
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -120,7 +121,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
|
||||
if (p.Count() != 2)
|
||||
{
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + Name + ")");
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (ICSClasses.CheckParamAndParamValue(p[0], p[1], PParams.ToArray()))
|
||||
@@ -129,7 +130,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[0] + ") in (" + Name + ")");
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[0] + ") in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -188,7 +189,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
for (int i = 0; i < this.paramList.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTStamp()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public DTStart()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Description()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Duration()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -83,7 +84,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("params are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("params are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (valueStr[0].Equals('-') || valueStr[0].Equals('+'))
|
||||
@@ -102,7 +103,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + ICSClasses.TimeSpanToString(this.value, this.isNegative);
|
||||
retValue += this.privateName + ":" + ICSClasses.TimeSpanToString(this.value, this.isNegative);
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public End()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public FreeBusyTime()
|
||||
{
|
||||
this.valueList = new List<Tuple<DateTime, TimeSpan, DateTime, bool>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a list of values. </summary>
|
||||
@@ -91,7 +92,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList.Count() > 1)
|
||||
{
|
||||
throw new NotSupportedException("there is only 1 param in (" + Name + ") supported");
|
||||
throw new NotSupportedException("there is only 1 param in (" + this.privateName + ") supported");
|
||||
}
|
||||
|
||||
string[] p = paramStrList[0].Split('=');
|
||||
@@ -161,7 +162,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (!this.freebusyType.Equals(string.Empty))
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Geo()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -61,7 +62,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +76,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
string[] valSplit = valueStr.Split(';');
|
||||
@@ -96,11 +97,11 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.value == null)
|
||||
{
|
||||
throw new NotSupportedException("there is no value set for (" + Name + ")");
|
||||
throw new NotSupportedException("there is no value set for (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
retValue += ":" + this.value.Item1.ToString() + ";" + this.value.Item2.ToString();
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public LastModified()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Location()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Method()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -70,7 +71,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Organizer()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public PercentComplete()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -49,7 +50,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("value must be in rang of [0..100] in (" + Name + ")");
|
||||
throw new ArgumentOutOfRangeException("value must be in rang of [0..100] in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +68,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +81,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = int.Parse(valueStr);
|
||||
@@ -94,11 +95,11 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.value < 0)
|
||||
{
|
||||
throw new NotSupportedException("there is no value set for (" + Name + ")");
|
||||
throw new NotSupportedException("there is no value set for (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
retValue += ":" + this.value.ToString();
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Priority()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -49,7 +50,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("value must be in rage of [0..9] in (" + Name + ")");
|
||||
throw new ArgumentOutOfRangeException("value must be in rage of [0..9] in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,7 +68,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,14 +84,14 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = int.Parse(valueStr);
|
||||
|
||||
if ((this.value < 0) || (this.value > 9))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException("value must be in the range of [0..9] in (" + Name + ")");
|
||||
throw new ArgumentOutOfRangeException("value must be in the range of [0..9] in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,11 +103,11 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (this.value < 0 || this.value > 9)
|
||||
{
|
||||
throw new NotSupportedException("there is no value set for (" + Name + ")");
|
||||
throw new NotSupportedException("there is no value set for (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
retValue += ":" + this.value.ToString();
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public ProductID()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -70,7 +71,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public RecurrenceID()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -58,6 +58,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public RecurrenceRule()
|
||||
{
|
||||
this.values = new List<Tuple<string, List<string>>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -119,7 +120,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":";
|
||||
retValue += this.privateName + ":";
|
||||
|
||||
for (int i = 0; i < this.values.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public RelatedTo()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -98,7 +99,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
|
||||
if (p.Count() != 2)
|
||||
{
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + Name + ")");
|
||||
throw new FormatException("unsupported param format (" + paramStrList + ") in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (ICSClasses.CheckParamAndParamValue(p[0], p[1], PParams.ToArray()))
|
||||
@@ -107,7 +108,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[0] + ") in (" + Name + ")");
|
||||
throw new NotSupportedException("unsupported param (" + paramStrList[0] + ") in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -122,7 +123,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (!this.realType.Equals(string.Empty))
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public RepeatCount()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -75,7 +76,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value.ToString();
|
||||
retValue += this.privateName + ":" + this.value.ToString();
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.valueList = new List<string>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -142,7 +143,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
for (int i = 0; i < this.paramList.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Resources()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public SequenceNumber()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
ICSValue.FINAL,
|
||||
ICSValue.CANCELLED
|
||||
});
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -84,7 +85,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("value (" + value + ") is not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("value (" + value + ") is not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -102,7 +103,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,14 +116,14 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("parameter are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("parameter are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if ((this.ValueListEvent.IndexOf(valueStr) < 0)
|
||||
&& (this.ValueListToDo.IndexOf(valueStr) < 0)
|
||||
&& (this.ValueListJournal.IndexOf(valueStr) < 0))
|
||||
{
|
||||
throw new NotSupportedException("value (" + valueStr + ") is not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("value (" + valueStr + ") is not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = valueStr;
|
||||
@@ -135,7 +136,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Summary()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
ICSValue.OPAQUE,
|
||||
ICSValue.TRANSPARENT
|
||||
});
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -81,7 +82,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("params are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("params are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (this.ValueList.IndexOf(valueStr) < 0)
|
||||
@@ -99,7 +100,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public TimeZoneIdentifier()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -65,7 +66,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("params are not supported in (" + Name + ")");
|
||||
throw new NotSupportedException("params are not supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = valueStr;
|
||||
@@ -78,7 +79,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public TimeZoneName()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -81,7 +82,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList.Count() > 1)
|
||||
{
|
||||
throw new NotSupportedException("there is only 1 param supported in (" + Name + ")");
|
||||
throw new NotSupportedException("there is only 1 param supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (paramStrList.Count() == 1)
|
||||
@@ -114,7 +115,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
if (!this.language.Equals(string.Empty))
|
||||
{
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public TimeZoneOffsetFrom()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -84,7 +85,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("no param supported in (" + Name + ")");
|
||||
throw new NotSupportedException("no param supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
if (valueStr[0].Equals('+'))
|
||||
@@ -110,7 +111,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + (this.isNegative ? "-" : "+") + string.Format("{0:HHmm}", this.value);
|
||||
retValue += this.privateName + ":" + (this.isNegative ? "-" : "+") + string.Format("{0:HHmm}", this.value);
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public TimeZoneOffsetTo()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public TimeZoneUrl()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -65,7 +66,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
if (paramStrList != null)
|
||||
{
|
||||
throw new NotSupportedException("no param supported in (" + Name + ")");
|
||||
throw new NotSupportedException("no param supported in (" + this.privateName + ")");
|
||||
}
|
||||
|
||||
this.value = valueStr;
|
||||
@@ -78,7 +79,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":" + this.value;
|
||||
retValue += this.privateName + ":" + this.value;
|
||||
|
||||
return retValue;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Trigger()
|
||||
{
|
||||
this.paramList = new List<Tuple<string, string>>();
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the Date/Time of the value. </summary>
|
||||
@@ -164,7 +165,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name;
|
||||
retValue += this.privateName;
|
||||
|
||||
for (int i = 0; i < this.paramList.Count(); i++)
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public UniqueID()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
public Url()
|
||||
: base()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets the name. </summary>
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
/// <remarks>Fiedler, 05.09.2013. </remarks>
|
||||
public Version()
|
||||
{
|
||||
this.privateName = this.GetName();
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the value. </summary>
|
||||
@@ -132,7 +133,7 @@ namespace CampusAppWP8.Utility.ICSProperties
|
||||
{
|
||||
string retValue = string.Empty;
|
||||
|
||||
retValue += Name + ":";
|
||||
retValue += this.privateName + ":";
|
||||
|
||||
if (this.minVer >= 0.0f)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user