Interface ICrud<TItem>
- Namespace
- Alis.Core.Ecs.Entity.Property
- Assembly
- Alis.dll
The crud interface
public interface ICrud<in TItem>Type Parameters
TItem
Methods
Add<T>(T)
Adds the component
void Add<T>(T value) where T : TItemParameters
valueT-
The component
Type Parameters
T-
The
Clear()
Cleans this instance
void Clear()Contains<T>()
Describes whether this instance contains
bool Contains<T>() where T : TItemReturns
- bool
-
The bool
Type Parameters
T-
The
Get<T>()
Gets this instance
T Get<T>() where T : TItemReturns
- T
-
The
Type Parameters
T-
The
Remove<T>(T)
Removes the component
void Remove<T>(T value) where T : TItemParameters
valueT-
The component
Type Parameters
T-
The