Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BenchmarkEvent.cs « Microsoft.AspNetCore.Blazor.E2EPerformance « wasm - github.com/mono/illinker-test-assets.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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);
        }
    }
}