protected override void RenderInternal(GridRendererContext rendererContext, PermissionContext permissionContext) { stopwatch.Restart(); gridPartRenderer.Render(rendererContext, permissionContext); logger.LogInformation($"Rendering time [{gridPartRenderer.GetType().FullName}]: {stopwatch.ElapsedMilliseconds} ms"); }
public override void Render(GridRendererContext rendererContext) { stopwatch.Restart(); gridPartRenderer.Render(rendererContext); stopwatch.Stop(); logger.LogInformation($"Rendering time [{gridPartRenderer.GetType().FullName}]: {stopwatch.ElapsedMilliseconds} ms"); }