41 references to RenderFragment
Aspire.Dashboard (6)
Components\Controls\Grid\AspireFluentDataGridHeaderCell.razor.cs (1)
73public static RenderFragment<ColumnBase<T>> RenderHeaderContent<T>(FluentDataGrid<T>? grid)
Components\Controls\PropertyGrid.razor.cs (3)
90private static readonly RenderFragment<TItem> s_emptyChildContent = _ => builder => { }; 129public RenderFragment<TItem> ContentAfterValue { get; set; } = s_emptyChildContent; 138public RenderFragment<TItem> ExtraValueContent { get; set; } = s_emptyChildContent;
Components\Controls\SummaryDetailsView.razor.cs (2)
21public RenderFragment<T>? Details { get; set; } 56public RenderFragment<T>? DetailsTitleTemplate { get; set; }
Microsoft.AspNetCore.Components (3)
ErrorBoundaryBase.cs (1)
23[Parameter] public RenderFragment<Exception>? ErrorContent { get; set; }
Rendering\RenderTreeBuilder.cs (1)
124public void AddContent<TValue>(int sequence, RenderFragment<TValue>? fragment, TValue value)
Routing\Router.cs (1)
78public RenderFragment<RouteData> Found { get; set; }
Microsoft.AspNetCore.Components.Authorization (9)
AuthorizeRouteView.cs (5)
23private static readonly RenderFragment<AuthenticationState> _defaultNotAuthorizedContent 29private readonly RenderFragment<AuthenticationState> _renderAuthorizedDelegate; 30private readonly RenderFragment<AuthenticationState> _renderNotAuthorizedDelegate; 52public RenderFragment<AuthenticationState>? NotAuthorized { get; set; } 114var content = NotAuthorized ?? _defaultNotAuthorizedContent;
AuthorizeViewCore.cs (4)
21[Parameter] public RenderFragment<AuthenticationState>? ChildContent { get; set; } 26[Parameter] public RenderFragment<AuthenticationState>? NotAuthorized { get; set; } 32[Parameter] public RenderFragment<AuthenticationState>? Authorized { get; set; } 61var authorized = Authorized ?? ChildContent;
Microsoft.AspNetCore.Components.Authorization.Tests (5)
AuthorizeRouteViewTest.cs (2)
183RenderFragment<AuthenticationState> customNotAuthorized = 208RenderFragment<AuthenticationState> customNotAuthorized =
AuthorizeViewTest.cs (3)
497RenderFragment<AuthenticationState> childContent = null, 498RenderFragment<AuthenticationState> authorized = null, 499RenderFragment<AuthenticationState> notAuthorized = null,
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\SSRRenderModeBoundary.cs (1)
126if (valueType.IsGenericType && valueType.GetGenericTypeDefinition() == typeof(RenderFragment<>))
Microsoft.AspNetCore.Components.QuickGrid (4)
Columns\ColumnBase.razor.cs (2)
38[Parameter] public RenderFragment<ColumnBase<TGridItem>>? HeaderTemplate { get; set; } 76[Parameter] public RenderFragment<PlaceholderContext>? PlaceholderTemplate { get; set; }
Columns\TemplateColumn.cs (2)
14private static readonly RenderFragment<TGridItem> EmptyChildContent = _ => builder => { }; 19[Parameter] public RenderFragment<TGridItem> ChildContent { get; set; } = EmptyChildContent;
Microsoft.AspNetCore.Components.Web (7)
Forms\EditForm.cs (1)
68[Parameter] public RenderFragment<EditContext>? ChildContent { get; set; }
Forms\Mapping\FormMappingScope.cs (1)
27[Parameter] public RenderFragment<FormMappingContext> ChildContent { get; set; } = default!;
Virtualization\Virtualize.cs (5)
54private RenderFragment<TItem>? _itemTemplate; 56private RenderFragment<PlaceholderContext>? _placeholder; 69public RenderFragment<TItem>? ChildContent { get; set; } 75public RenderFragment<TItem>? ItemContent { get; set; } 81public RenderFragment<PlaceholderContext>? Placeholder { get; set; }
Microsoft.AspNetCore.Components.Web.Tests (6)
Forms\EditFormTest.cs (1)
246builder.AddComponentParameter(3, nameof(FormMappingScope.ChildContent), (RenderFragment<FormMappingContext>)(_ => RenderForm));
Forms\Mapping\FormMappingScopeTest.cs (4)
28RenderFragment<FormMappingContext> contents = (ctx) => b => { capturedContext = ctx; }; 51RenderFragment<FormMappingContext> contents = (ctx) => b => { capturedContext = ctx; }; 52RenderFragment<FormMappingContext> nested = (ctx) => b => 114RenderFragment<FormMappingContext> contents = (ctx) => b => { capturedContext = ctx; };
HtmlRendering\HtmlRendererTest.cs (1)
1090rtb.AddComponentParameter(1, nameof(FormMappingScope.ChildContent), (RenderFragment<FormMappingContext>)(ctx => rtb =>