www.pudn.com > OracleServiceManager.zip > ServicePendingContinue.cs
using System;
namespace kae.ServiceStatePublisher
{
///
/// ServicePendingContinue is a concrete ServiceState representing the
/// ServiceController state of pending continue. As a singleton, only
/// one instance of this class is needed for the application.
///
public class ServicePendingContinue : ServiceState
{
private static ServicePendingContinue _instance;
static ServicePendingContinue()
{
lock (typeof(ServicePendingContinue))
{
if (_instance == null)
_instance = new ServicePendingContinue();
}
}
public static ServicePendingContinue Instance
{
get { return _instance; }
}
public override string Status
{
get { return "Starting"; }
}
public override bool IsChanging
{
get { return true; }
}
}
}