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 MainWindowViewModel partial when used with CommunityToolkit.Mvvm #183

Merged
merged 1 commit into from
Apr 8, 2023

Conversation

Mrxx99
Copy link
Contributor

@Mrxx99 Mrxx99 commented Apr 7, 2023

When using CommunityToolkit.Mvvm it is very likely that the source generator for ObservableProperties are used, which requires the ViewModel to be partial, this makes it a bit easier because it is already done for the MainWindowViewModel.

@maxkatz6 maxkatz6 merged commit 8367868 into AvaloniaUI:master Apr 8, 2023
@Mrxx99 Mrxx99 deleted the feature/partialVM branch June 15, 2023 16:33
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.

2 participants