File: ServerReliability\ThrowingAttachComponent.cs
Web Access
Project: src\src\Components\test\testassets\BasicTestApp\BasicTestApp.csproj (BasicTestApp)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.AspNetCore.Components;
 
namespace BasicTestApp.ServerReliability;
 
public class ThrowingAttachComponent : IComponent
{
    public void Attach(RenderHandle renderHandle)
    {
        throw new InvalidTimeZoneException();
    }
 
    public Task SetParametersAsync(ParameterView parameters)
    {
        throw new NotImplementedException();
    }
}