public override bool DeleteRecords(IEnumerable<BaseRecord> br)
{
if (br.Count(r => !(r is Record || r is GroupRecord)) > 0)
{
throw new TESParserException("Record to delete was not of the correct type.\nGroups can only hold records or other groups.");
}
var ok = false;
foreach (Rec r in from Rec r in br where this.records.Remove(r) select r)
{
ok = true;
r.Parent = null;
FireRecordDeleted(this, r);
}
FireRecordListUpdate(this, this);
return ok;
}