/// <summary> /// report model load info /// </summary> /// <param name="hostService">host service</param> /// <param name="file">the model's LocalPathFromRoot</param> /// <param name="phase">the buildphase that the model was loaded at</param> public void ReportModelLoadInfo(HostService hostService, string file, BuildPhase?phase) { OSPlatformSensitiveDictionary <BuildPhase?> mi = null; string name = hostService.Processor.Name; if (!_modelLoadInfo.TryGetValue(name, out mi)) { _modelLoadInfo[name] = mi = new OSPlatformSensitiveDictionary <BuildPhase?>(); } mi[file] = phase; }
/// <summary> /// report model load info /// </summary> /// <param name="hostService">host service</param> /// <param name="files">models' LocalPathFromRoot</param> /// <param name="phase">the buildphase that the model was loaded at</param> public void ReportModelLoadInfo(HostService hostService, IEnumerable <string> files, BuildPhase?phase) { foreach (var f in files) { ReportModelLoadInfo(hostService, f, phase); } }