protected void AddTarget(string id, object o)
{
if (id == null)
{
if (_targetsWithoutIds == null)
_targetsWithoutIds = new ArrayList();
if (o != null)
_targetsWithoutIds.Add(o);
}
else
{
if (_targets == null) _targets = new Hashtable();
if (!_targets.Contains(id))
_targets.Add(id, o);
}
}