Files
win8phoneApp/CampusAppWP8/CampusAppWPortalLib8/Model/Person/IPersonModel.cs
2013-10-02 13:27:45 +02:00

31 lines
1.1 KiB
C#

//-----------------------------------------------------------------------------
// <copyright file="IPersonModel.cs" company="BTU/IIT">
// Company copyright tag.
// </copyright>
// <author>stubbfel</author>
// <sience>01.10.2013</sience>
//-----------------------------------------------------------------------------
namespace CampusAppWPortalLib8.Model.Person
{
using System.Collections.ObjectModel;
/// <summary>
/// Interface for PersonModel classes
/// </summary>
/// <typeparam name="T">PersonFunctionModel template</typeparam>
public interface IPersonModel<T> where T : IPersonFunctionModel
{
/// <summary>Gets or sets the functions of a person.</summary>
/// <value>The functions.</value>
ObservableCollection<T> Functions { get; set; }
/// <summary>Gets or sets the identifier.</summary>
/// <value>The identifier.</value>
string ID { get; set; }
/// <summary>Sets person identifier to function.</summary>
/// <remarks>Stubbfel, 05.09.2013.</remarks>
void SetPersonIdToFunction();
}
}