IPlaceableCollection

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public interface IPlaceableCollection

Summary

Interface for managing collections of placeable objects. Provides abstraction for placeable data management and operations.

Metadata

Namespace: GridPlacement.Core.Data

Source File: cs/Core/Interfaces/IPlaceableCollection.cs

Assembly: GridPlacement.Core

Type: interface

Properties

Placeables

1
public abstract IReadOnlyCollection<object> Placeables { get; }

Gets all placeables in the collection.


Count

1
public abstract int Count { get; }

Gets the count of placeables in the collection.


Methods

Add

1
void Add(object placeable)

Adds a placeable to the collection.

Parameters

NameDescription
placeableThe placeable to add

Remove

1
bool Remove(object placeable)

Removes a placeable from the collection.

Parameters

NameDescription
placeableThe placeable to remove

Returns

True if the placeable was removed, false if not found


Clear

1
void Clear()

Clears all placeables from the collection.


Contains

1
bool Contains(object placeable)

Checks if the collection contains a specific placeable.

Parameters

NameDescription
placeableThe placeable to check for

Returns

True if the placeable is in the collection