public override IChildrenContainer Reserve(string name)
{
if (_reason is SuspendReason.Termination) throw new InvalidOperationException(string.Format("Cannot reserve actor name\"{0}\". Is terminating.", name));
if (InternalChildren.ContainsKey(name))
throw new InvalidActorNameException(string.Format("Actor name \"{0}\" is not unique!", name));
else
return new TerminatingChildrenContainer(InternalChildren.SetItem(name, ChildNameReserved.Instance), _toDie, _reason);
}