v9.8.2018.0605 由DataReader直接映射实体列表,以支持netstandard的MySql和SQLite,且提升性能
大石头
authored at
2018-06-05 00:45:23
X
using System;
namespace NewLife.Agent
{
/// <summary>代理服务接口</summary>
public interface IAgentService
{
/// <summary>服务名</summary>
String ServiceName { get; set; }
/// <summary>显示名</summary>
String DisplayName { get; }
/// <summary>服务描述</summary>
String Description { get; }
///// <summary>是否已安装</summary>
//Boolean? IsInstalled { get; }
///// <summary>是否已启动</summary>
//Boolean? IsRunning { get; }
/// <summary>停止</summary>
void Stop();
/// <summary>重启服务</summary>
/// <param name="reason"></param>
void Restart(String reason);
}
}
|