using System;
namespace LemonUI
{
///
/// Represents a container that can hold other UI Elements.
///
public interface IContainer : IRecalculable, IProcessable
{
///
/// Adds the specified item into the Container.
///
/// The item to add.
void Add(T item);
///
/// Removes the item from the container.
///
/// The item to remove.
void Remove(T item);
///
/// Removes all of the items that match the function.
///
/// The function to check items.
void Remove(Func func);
///
/// Clears all of the items in the container.
///
void Clear();
///
/// Checks if the item is part of the container.
///
/// The item to check.
/// if the item is in this container, otherwise.
bool Contains(T item);
}
}