duty.cs

来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 55 行

CS
55
字号
namespace Org.InteliIM.Applications.Office
{
	/// <summary>
	/// Represents the duty of a user.
	/// </summary>
	public class Duty
	{
		/// <summary>
		/// Initializes a new instance of the Duty class.
		/// </summary>
		public Duty()
		{
		}

		private string name;

		/// <summary>
		/// Gets or sets the name.
		/// </summary>
		public string Name
		{
			get
			{
				if (this.name == null)
					this.name = "";

				return this.name;
			}
			set 
			{ 
				this.name = value;
			}
		}

		private string description;

		/// <summary>
		/// Gets or sets the description.
		/// </summary>
		public string Description
		{
			get
			{
				if (this.description == null)
					this.description = "";

				return this.description;
			}
			set 
			{
				this.description = value;
			}
		}
	}
}

⌨️ 快捷键说明

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