Table of Contents

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 : TItem

Parameters

value T

The component

Type Parameters

T

The

Clear()

Cleans this instance

void Clear()

Contains<T>()

Describes whether this instance contains

bool Contains<T>() where T : TItem

Returns

bool

The bool

Type Parameters

T

The

Get<T>()

Gets this instance

T Get<T>() where T : TItem

Returns

T

The

Type Parameters

T

The

Remove<T>(T)

Removes the component

void Remove<T>(T value) where T : TItem

Parameters

value T

The component

Type Parameters

T

The