private void RegisterLayers(List <LayerRecord> layerRecords) { for (int i = 0; i < layerRecords.Count; i++) { layerCollection.RegisterLayer(layerRecords[i], i); } }