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

Make some types non-generic #1237

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Make some types non-generic #1237

merged 2 commits into from
Dec 6, 2023

Conversation

drewnoakes
Copy link
Member

Three types are made non-generic, as we no longer specialise by resource type:

  • ViewModelProcessor
  • ViewModelMonitor
  • ResourceChange

Three types are made non-generic, as we no longer specialise by resource type:

- ViewModelProcessor
- ViewModelMonitor
- ResourceChange
@adamint
Copy link
Member

adamint commented Dec 6, 2023

Do we have any future plans that would require these generics? That's not clear in your description.

@drewnoakes
Copy link
Member Author

The view model types are being moved towards a uniform representation, so that the UI doesn't need to know anything about specific resource types (container, exe, project, ...), leaving the set open to extension, and making it easier to program against them all uniformly.

@drewnoakes drewnoakes merged commit c5276c4 into dotnet:main Dec 6, 2023
8 checks passed
@drewnoakes drewnoakes deleted the non-generic branch December 6, 2023 21:52
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants