// 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 ThrowingConstructorComponent : IComponent
{
public ThrowingConstructorComponent()
{
throw new InvalidTimeZoneException();
}
public void Attach(RenderHandle renderHandle)
{
throw new NotImplementedException();
}
public Task SetParametersAsync(ParameterView parameters)
{
throw new NotImplementedException();
}
}
|