private void InjectResourceToSheet(IXLWorksheet sheet, MarkerRange markerRegion) { var injection = _injectionProvider.Resolve(markerRegion.StartMarker.Id); var injectionContext = new InjectionContext { MarkerRange = markerRegion, Workbook = sheet.Workbook, Injection = injection, }; _resourceInjector.Inject(injectionContext); }