12 references to IsSupported
Microsoft.AspNetCore.Components (12)
Rendering\ComponentState.cs (4)
57
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
272
var parametersStartTimestamp = ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled ? Stopwatch.GetTimestamp() : 0;
281
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
288
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
RenderTree\Renderer.cs (7)
108
if (ComponentsMetrics.
IsSupported
)
508
var eventStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled ? Stopwatch.GetTimestamp() : 0;
552
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
567
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
848
var batchStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled ? Stopwatch.GetTimestamp() : 0;
881
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
888
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
Routing\Router.cs (1)
321
if (ComponentsMetrics.
IsSupported
&& _renderHandle.ComponentMetrics != null && _renderHandle.ComponentMetrics.IsNavigationEnabled)