Skip to content

How to pass the AuthenticationState Task cascading parameter to a component under test #192

Answered by egil
ThaRaven403 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks as if the following works, as it is an unnamed cascading parameter. The other variant should also work, so I am fixing that

.Add(stateProvider.GetAuthenticationStateAsync())

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@egil
Comment options

Comment options

You must be logged in to vote
1 reply
@egil
Comment options

Comment options

You must be logged in to vote
6 replies
@egil
Comment options

@AFAde
Comment options

@holtalanm
Comment options

@egil
Comment options

@holtalanm
Comment options

Answer selected by egil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #192 on August 26, 2020 07:56.