Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert FairPlayTube's CultureSelector.razor to use code-behind #234

Open
efonsecab opened this issue Nov 19, 2024 · 0 comments
Open

Convert FairPlayTube's CultureSelector.razor to use code-behind #234

efonsecab opened this issue Nov 19, 2024 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@efonsecab
Copy link
Contributor

efonsecab commented Nov 19, 2024

  1. Within Visual Studio, right click over the word "@code", select "Quick Actions and Refactorings", then choose "Extract block to code behind". Note: Visual Studio will create a Linked File in the FairPlayTube project, delete the linked file
  2. Move the "@Inject NavigationManager Navigation" to the cs file as a property
    [Inject] NavigationManager? Navigation {get;set;}

Fix the build errors

@efonsecab efonsecab added the good first issue Good for newcomers label Nov 19, 2024
@efonsecab efonsecab added this to the Release 2.0 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant