| File: Components\BlockRendererRegistration.cs | Web Access |
| Project: src\aspnetcore\src\Components\AI\src\Microsoft.AspNetCore.Components.AI.csproj (Microsoft.AspNetCore.Components.AI) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Components.AI; internal class BlockRendererRegistration { public required Type BlockType { get; init; } public Func<ContentBlock, bool>? When { get; init; } public required Func<ContentBlock, RenderFragment> Render { get; init; } }