Interface IDataPartition<T>
This interface provides a minimalistic list interface and acts as a unified base for both the partitioned data and each individual data partition.
Assembly: Eco.Gameplay.dll
Syntax
public interface IDataPartition<T>
Type Parameters
Properties
NumEntries
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Methods
AddEntry(T)
Declaration
Parameters
Type |
Name |
Description |
T |
entry |
|
GetEnumerable()
Declaration
IEnumerable<T> GetEnumerable()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
RemoveAll(Predicate<T>)
Removes all entries matching predicate
and returns number of removed entries.
Declaration
int RemoveAll(Predicate<T> predicate)
Parameters
Type |
Name |
Description |
System.Predicate<T> |
predicate |
|
Returns
Type |
Description |
System.Int32 |
|
Extension Methods