private static void ServerBaseBrokenHandler(ILogicObject areasGroup, List <ILogicObject> newAreaGroups) { var fromPowerGrid = GetPrivateState(areasGroup).PowerGrid; var toPowerGrids = newAreaGroups.Select(g => GetPrivateState(g).PowerGrid).ToList(); PowerGrid.ServerOnPowerGridBroken(fromPowerGrid, toPowerGrids); }