Mindscape LightSpeed - User Reference & API Documentation
EntityCollection<(Of <(TEntity>)>) Class
API ReferenceMindscape.LightSpeedEntityCollection<(Of <(TEntity>)>)
A collection of Entity objects.
Declaration Syntax
C#Visual Basic
[SerializableAttribute]
public class EntityCollection<TEntity> : BindingList<TEntity>, IList<TEntity>, 
	ICollection<TItem>, IEnumerable<TItem>, IList, ICollection, 
	IEnumerable, IEditableObject where TEntity : Entity
<SerializableAttribute> _
Public Class EntityCollection(Of TEntity As Entity) _
	Inherits BindingList(Of TEntity) _
	Implements IList(Of TEntity), ICollection(Of TItem),  _
	IEnumerable(Of TItem), IList, ICollection, IEnumerable,  _
	IEditableObject
Generic Template Parameters
TEntity
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
EntityCollection<(Of <(TEntity>)>)()()()
Initializes a new instance of the EntityCollection<(Of <(TEntity>)>) class.

AddRange(IEnumerable<(Of <(TEntity>)>))
Adds a range of entities to this collection.

BeginEdit()()()
Begins an edit on an object.

CancelEdit()()()
Discards changes since the last BeginEdit()()() call.

ClearItems()()()
Removes all elements from the collection.
(Overrides BindingList<(Of <(TEntity>)>).ClearItems()()().)
EndEdit()()()
Pushes changes since the last BeginEdit()()() or AddNew()()() call into the underlying object.

EntityAdded
Occurs when an entity is added to the collection.

EntityRemoved
Occurs when an entity is removed from the collection.

Find(Predicate<(Of <(TEntity>)>))
Finds an entity that matches a predicate.

FindAll(Predicate<(Of <(TEntity>)>))
Finds a list of entities that match a predicate.

InsertItem(Int32, TEntity)
Inserts the specified item in the list at the specified index.
(Overrides BindingList<(Of <(TEntity>)>).InsertItem(Int32, T).)
IsLazy
Gets or sets a value indicating whether this instance is lazy, i.e. is not yet loaded.

ItemAdded
Occurs when an entity is added.

ItemRemoved
Occurs when an entity is removed.

RemoveItem(Int32)
Removes the item at the specified index.
(Overrides BindingList<(Of <(TEntity>)>).RemoveItem(Int32).)
ToArray()()()
Creates a primitive array of the entities in this collection.

ToString()()()
Returns a String that represents the current Object.
(Overrides Object.ToString()()().)
Inheritance Hierarchy
Object
Collection<(Of <(TEntity>)>)
 BindingList<(Of <(TEntity>)>)
  EntityCollection<(Of <(TEntity>)>)

Assembly: Mindscape.LightSpeed (Module: Mindscape.LightSpeed) Version: 1.2.1393.0 (1.2.1393.0)