intersvyaz/src/Intersvyaz.Core/Services/ISettingsService.cs

24 lines
780 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
namespace Intersvyaz.Core.Services
{
public interface ISettingsService
{
/// <summary>
/// Событие об изменении текущего пользователя.
/// </summary>
event EventHandler<string> CurrentUserChanged;
/// <summary>
/// Получить текущего пользователя.
/// </summary>
/// <returns>Имя пользователя.</returns>
string GetCurrentUser();
/// <summary>
/// Установить нового текущего пользователя.
/// </summary>
/// <param name="value">Имя нового пользователя.</param>
void SetCurrentUser(string value);
}
}