12 references to IsSupported
Microsoft.AspNetCore.Components (12)
Rendering\ComponentState.cs (4)
56
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
245
var parametersStartTimestamp = ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled ? Stopwatch.GetTimestamp() : 0;
254
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
261
if (ComponentsMetrics.
IsSupported
&& _renderer.ComponentMetrics != null && _renderer.ComponentMetrics.IsParametersEnabled)
RenderTree\Renderer.cs (7)
103
if (ComponentsMetrics.
IsSupported
)
486
var eventStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled ? Stopwatch.GetTimestamp() : 0;
530
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
545
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
826
var batchStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled ? Stopwatch.GetTimestamp() : 0;
859
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
866
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
Routing\Router.cs (1)
321
if (ComponentsMetrics.
IsSupported
&& _renderHandle.ComponentMetrics != null && _renderHandle.ComponentMetrics.IsNavigationEnabled)