internal void RecordCreatedModels(List<ModelBase> models)
{
if (!ShouldProceedWithRecording(models))
return; // There's nothing created.
using (undoRecorder.BeginActionGroup())
{
foreach (ModelBase model in models)
undoRecorder.RecordCreationForUndo(model);
}
}