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

Rationalize how ProjectSnapshotManager is updated #10101

Merged
merged 27 commits into from
Mar 18, 2024

Conversation

DustinCampbell
Copy link
Member

This change adds Update(...) and UpdateAsync(...) to IProjectSnapshotManager in order to streamline code that updates it. This means that it is no longer necessary to carry around a ProjectSnapshotManagerDispatcher in order to update IProjectSnapshotManager. There is further work needed to do away with ProjectSnaapshotManagerDispatcher completely, but this is a big step in the right direction.

I took care to make the commit history meaningful, so it should be manageable for reviewers.

These APIs are intended to make it easier to update the project snapshot manager without a dispatcher. This will be used to get rid of ProjectSnapshotMangerBase.
This change removes ProjectSnapshotManagerBase, which requires several test updates to use the Update(...) and UpdateAsync(...) APIs.
@DustinCampbell DustinCampbell requested a review from a team as a code owner March 14, 2024 23:59
@DustinCampbell DustinCampbell merged commit 486a51e into dotnet:main Mar 18, 2024
12 checks passed
@DustinCampbell DustinCampbell deleted the project-manager-updates branch March 18, 2024 20:52
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 18, 2024
@RikkiGibson RikkiGibson modified the milestones: Next, 17.10 P3 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants