Table of Contents

Class BootstrapBlazorAuthorizeView

Namespace
BootstrapBlazor.Components
Assembly
BootstrapBlazor.dll
public class BootstrapBlazorAuthorizeView : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Inheritance
BootstrapBlazorAuthorizeView
Implements
Inherited Members
Extension Methods

Constructors

BootstrapBlazorAuthorizeView()

public BootstrapBlazorAuthorizeView()

Properties

NotAuthorized

获得/设置 NotAuthorized 模板

[Parameter]
public RenderFragment? NotAuthorized { get; set; }

Property Value

RenderFragment

Parameters

获得/设置 路由关联上下文

[Parameter]
public IReadOnlyDictionary<string, object>? Parameters { get; set; }

Property Value

IReadOnlyDictionary<string, object>

Resource

The resource to which access is being controlled.

[Parameter]
public object? Resource { get; set; }

Property Value

object

Type

获得/设置 路由关联上下文

[Parameter]
public Type? Type { get; set; }

Property Value

Type

Methods

BuildRenderTree(RenderTreeBuilder)

BuildRenderTree 方法

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

builder RenderTreeBuilder

OnInitializedAsync()

OnInitializedAsync 方法

protected override Task OnInitializedAsync()

Returns

Task