123456789101112131415161718192021222324252627282930313233343536373839 |
-
- namespace LeaRun.Application.Code
- {
- /// <summary>
- /// 版 本 6.1
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创建人:佘赐雄
- /// 日 期:2015.10.10
- /// 描 述:当前操作者回话接口
- /// </summary>
- public interface OperatorIProvider
- {
- /// <summary>
- /// 写入登录信息
- /// </summary>
- /// <param name="user">成员信息</param>
- void AddCurrent(Operator user);
- /// <summary>
- /// 获取当前用户
- /// </summary>
- /// <returns></returns>
- Operator Current();
- /// <summary>
- /// 删除当前用户
- /// </summary>
- void EmptyCurrent();
- /// <summary>
- /// 是否过期
- /// </summary>
- /// <returns></returns>
- bool IsOverdue();
- /// <summary>
- /// 是否已登录
- /// </summary>
- /// <returns></returns>
- int IsOnLine();
- }
- }
|