securitydomain.cs

来自「NHibernate NET开发者所需的」· CS 代码 · 共 49 行

CS
49
字号
using System;
using System.Collections;

namespace NHibernate.Test.NHSpecificTest.NH350
{
	public class SecurityDomain
	{
		private long m_ID = -1L;
		private string m_Name;

		private SecurityDomain m_ParentDomain;
		private IList m_ChildDomains;

		public SecurityDomain()
		{
		}

		public long Id
		{
			get { return m_ID; }
			set { m_ID = value; }
		}

		public string Name
		{
			get { return m_Name; }
			set { m_Name = value; }
		}

		public SecurityDomain ParentDomain
		{
			get { return m_ParentDomain; }
			set { m_ParentDomain = value; }
		}

		public IList ChildDomains
		{
			get
			{
				if (m_ChildDomains == null)
				{
					m_ChildDomains = new ArrayList();
				}
				return m_ChildDomains;
			}
			set { m_ChildDomains = value; }
		}
	}
}

⌨️ 快捷键说明

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