private void Convert(CoreData data, Sheet[] sheets) { var runtimeSheets = new RuntimeSheet[sheets.Length]; for (var i = 0; i < sheets.Length; i++) { var runtimeSheet = new RuntimeSheet(); runtimeSheet.Process(sheets[i]); runtimeSheets[i] = runtimeSheet; } data.SetRuntimeSheets(runtimeSheets); }