public void AddChild(IContainer child, string size)
{
if (child == null)
{
throw new ArgumentNullException(nameof(child));
}
if (child.Parent != null)
{
throw new InvalidOperationException();
}
_children.Add(child);
_sizes.Add(size);
child.Parent = this;
}