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

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