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)
108
if (ComponentsMetrics.
IsSupported
)
507
var eventStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled ? Stopwatch.GetTimestamp() : 0;
551
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
566
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsEventEnabled)
847
var batchStartTimestamp = ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled ? Stopwatch.GetTimestamp() : 0;
880
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
887
if (ComponentsMetrics.
IsSupported
&& ComponentMetrics != null && ComponentMetrics.IsBatchEnabled)
Routing\Router.cs (1)
321
if (ComponentsMetrics.
IsSupported
&& _renderHandle.ComponentMetrics != null && _renderHandle.ComponentMetrics.IsNavigationEnabled)