Files
win8phoneApp/CampusAppWP8/CampusAppWPortalLib8/Model/Utility/SemesterListPickerItemListModel.cs
2013-10-15 13:10:29 +02:00

45 lines
1.7 KiB
C#

//-----------------------------------------------------------------------
// <copyright file="SemesterListPickerItemListModel.cs" company="BTU/IIT">
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
// </copyright>
// <author>Stubbfel</author>
// <date>15.10.2013</date>
// <summary>Implements the semester list picker item list model class</summary>
//-----------------------------------------------------------------------
namespace CampusAppWPortalLib8.Model.Utility
{
/// <summary> Class for the SemesterList. </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
/// <seealso cref="T:CampusAppWPortalLib8.Model.Utility.ListPickerItemListModel"/>
public class SemesterListPickerItemListModel : ListPickerItemListModel
{
#region Constructor
/// <summary>
/// Initializes a new instance of the <see cref="SemesterListPickerItemListModel" /> class.
/// </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
public SemesterListPickerItemListModel()
: base()
{
this.LoadList();
}
#endregion
#region Method
/// <summary> Overrides the LoadList-Method <see cref="ListPickerItemListModel"/> </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
/// <seealso cref="M:CampusAppWPortalLib8.Model.Utility.ListPickerItemListModel.LoadList()"/>
protected override void LoadList()
{
this.AddItem(new ListPickerItemModel("20132", "WiSe 13/14"));
this.AddItem(new ListPickerItemModel("20141", "SoSe 14"));
this.AddItem(new ListPickerItemModel("20142", "WiSe 14/15"));
}
#endregion
}
}