blob: bdf98fd38879bf22d301bf783a5ca61d82f551b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.JSInterop;
namespace Microsoft.AspNetCore.Blazor.E2EPerformance
{
public static class BenchmarkEvent
{
public static void Send(IJSRuntime jsRuntime, string name)
{
((IJSInProcessRuntime)jsRuntime).Invoke<object>(
"receiveBenchmarkEvent",
name);
}
}
}
|