⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 servicestateunknown.cs

📁 Oracle Service Manager
💻 CS
字号:
using System;

namespace kae.ServiceStatePublisher
{
	/// <summary>
	/// ServiceStateUnknown implements a a concrete state 
	/// class in the State Pattern.
	/// The Singleton Pattern is also used to limit this class
	/// to one instance for the application.
	/// </summary>
	public class ServiceStateUnknown : ServiceState
	{
		private static ServiceStateUnknown _instance;

		static ServiceStateUnknown()
		{
			lock (typeof(ServiceStateUnknown))
			{
				if (_instance == null)
					_instance = new ServiceStateUnknown();
			}
		}

		public static ServiceStateUnknown Instance
		{
			get { return _instance; }
		}

		public override string Status
		{
			get { return "Unknown"; }
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -