init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
36
Framework/Collections/IEntityCollection.cs
Normal file
36
Framework/Collections/IEntityCollection.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using System.Collections;
|
||||
using Kreta.Framework.Entities;
|
||||
|
||||
namespace Kreta.Framework.Collections
|
||||
{
|
||||
public interface IEntityCollection : IEnumerable
|
||||
{
|
||||
int Count
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
Entity this[int index]
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
int Add(Entity entity);
|
||||
|
||||
bool Contains(Entity entity);
|
||||
|
||||
void DeleteAll();
|
||||
|
||||
void DeleteAll(bool runHandler);
|
||||
|
||||
void CascadeDeleteAll();
|
||||
|
||||
void CascadeDeleteAll(bool runHandler);
|
||||
|
||||
Entity FindEntityById(int entityId);
|
||||
|
||||
void Clear();
|
||||
|
||||
int IndexOf(Entity entity);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue