Пример #1
0
		/// <summary>
		/// Whether the collection contains a capability.
		/// </summary>
		public bool Contains(Capability value){
			return List.Contains(value);
		}
Пример #2
0
		/// <summary>
		/// Get the index of capability from the collection.
		/// </summary>
		public int IndexOf(Capability value) {
			return List.IndexOf(value);
		}
Пример #3
0
		/// <summary>
		/// Insert a capability into the collection.
		/// </summary>
		public void Insert(int index, Capability value) {
			List.Insert( index, value);
		}
Пример #4
0
		/// <summary>
		/// Copy the capabilities to an array.
		/// </summary>
		public void CopyTo(Capability[] array, int index) {
			List.CopyTo(array, index);
		}
Пример #5
0
		/// <summary>
		/// Remove a capability from the collection.
		/// </summary>
		public void Remove(Capability value) {
			List.Remove(value);
		}
Пример #6
0
		/// <summary>
		/// Add a capability to the collection.
		/// </summary>
		public int Add(Capability value) {
			return List.Add(value);
		}