mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 15:46:29 +01:00
27 lines
770 B
C#
27 lines
770 B
C#
|
namespace TINK.Model.User.Account
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Interface to manage an account store.
|
|||
|
/// </summary>
|
|||
|
public interface IStore
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Reads mail address and password from account store.
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
IAccount Load();
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Writes mail address and password to account store.
|
|||
|
/// </summary>
|
|||
|
/// <param name="p_oMailAndPwd"></param>
|
|||
|
void Save(IAccount p_oMailAndPwd);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Deletes mail address and password from account store.
|
|||
|
/// </summary>
|
|||
|
/// <returns> Empty account instance if deleting succeeded.</returns>
|
|||
|
IAccount Delete(IAccount p_oMailAndPwd);
|
|||
|
}
|
|||
|
}
|