Class AutoValidList<T>
A list that automatically remove element inside based on the given function
Constructors
AutoValidList(int, Func<T, bool>)
A list that automatically remove element inside based on the given function
Declaration
public AutoValidList(int capacity, Func<T, bool> updateFunc)
Properties
Capacity
Max element count
Declaration
public int Capacity { get; }
Count
How many elements are currently inside this list
Declaration
public int Count { get; }
Methods
Add(T)
Declaration
public bool Add(T element)
Update()
Valid all elements in the list based on the given funtion.
Declaration
public void Update()