1 write to _diagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\ViewViewComponentResult.cs (1)
113
_diagnosticListener
= viewContext.HttpContext.RequestServices.GetRequiredService<DiagnosticListener>();
3 references to _diagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ViewComponents\ViewViewComponentResult.cs (3)
111
if (
_diagnosticListener
== null)
116
_diagnosticListener
.ViewComponentBeforeViewExecute(context, view);
125
_diagnosticListener
.ViewComponentAfterViewExecute(context, view);