Skip to content

Add more constructors to StackContainer<T> #129

@Chingling152

Description

@Chingling152

Summary

Provide a clear and concise description of the feature you are requesting.

Constructors

  • StackContainer(int size, int maxStackSize) - Creates a container with the specified number of empty slots, using StackSlot<T> instance with a maxStackSize.
  • StackContainer(IEnumerable<T> items) - Creates a container with the specified number of empty slots and slot capacity using the StackSlot<T> instance with a maxStackSize.
  • StackContainer(IEnumerable<T> items, int maxStackSize) - Creates a container with the specified number of slots with items and slot capacity using the StackSlot<T> instance with a maxStackSize.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

Status

✔ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions