henalbrod / Blazor.Auth0

The library for using Auth0 in Blazor applications.
https://github.com/henalbrod/Blazor.Auth0
MIT License
110 stars 29 forks source link

Refactor @functions to @code #20

Closed TopSwagCode closed 5 years ago

TopSwagCode commented 5 years ago

Hi another small PR for updating the project. :)

@code The new @code directive is used in .razor files (not supported in .cshtml files) to specify a code block to add to the generated class as additional members. It’s equivalent to @functions, but now with a better name.

https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-6/