Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Parameters with non-public accessors are not set #115

@bojankostic81

Description

@bojankostic81

Question

Hi,
How can I get AuthenticationState in ViewModel? I'm trying with:

[CascadingParameter] Task AuthenticationState { get; set; }

but it is always null.

Thanks.

Code sample

No response

Version

6.0.6

Are you using Blazor WASM or Blazor Server?

Blazor WASM

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions