scenes.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 93 行

CS
93
字号
namespace Org.InteliIM.Activities.Conversations
{
	/// <summary>
	/// 谈话场景
	/// </summary>
	public class Scene
	{
		private string id;
		
		/// <summary>
		/// 
		/// </summary>
		public string Id
		{
			get
			{
				if(this.id == null)
					this.id = "";
				
				return this.id;
			}
			set
			{
				this.id = value;
			}
		}
		
		private string name;

		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get
			{
				if(this.name == null)
					this.name = "";
				
				return this.name;
			}
			set
			{
				this.name = value;
			}
		}
		
		private string description;

		/// <summary>
		///	
		/// </summary>
		public string Description
		{
			get
			{
				if(this.description == null)
					this.description = "";
				
				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
	}

	/// <summary>
	/// 办公室场景
	/// </summary>
	public class OfficeScene
		: Scene
	{
	}

	/// <summary>
	/// 会议室场景
	/// </summary>
	public class MeetingRoomScene
		: Scene
	{
	}

	/// <summary>
	/// 走廊场景
	/// </summary>
	public class CorridorScene
		: Scene
	{
	}
}

⌨️ 快捷键说明

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