Inheritance: NamedObject
Ejemplo n.º 1
0
		public void AddDepartment(Department department)
		{
			_departments.Add(department);
			RegisterObject(department);
		}
Ejemplo n.º 2
0
		internal void Add(Department department)
		{
			if (null == department)
			{
				throw new ArgumentNullException("department");
			}

			lock (InnerList.SyncRoot)
			{
				InnerList.Add(department);
			}
		}