?? servicependingpause.cs
字號:
using System;
namespace kae.ServiceStatePublisher
{
/// <summary>
/// ServicePendingPause is a concrete ServiceState representing the
/// ServiceController state of pending pause. As a singleton, only
/// one instance of this class is needed for the application.
/// </summary>
public class ServicePendingPause : ServiceState
{
private static ServicePendingPause _instance;
static ServicePendingPause()
{
lock (typeof(ServicePendingPause))
{
if (_instance == null)
_instance = new ServicePendingPause();
}
}
public static ServicePendingPause Instance
{
get { return _instance; }
}
public override string Status
{
get { return "Pausing"; }
}
public override bool IsChanging
{
get { return true; }
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -