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

Cleanup and Unit Test Repairs #30

Merged
merged 7 commits into from
Nov 28, 2022
Merged

Cleanup and Unit Test Repairs #30

merged 7 commits into from
Nov 28, 2022

Conversation

DamianSuess
Copy link
Collaborator

@DamianSuess DamianSuess commented Nov 27, 2022

This branch initially set out to address some Unit Tests, and in the process ended up fixing AutoWireViewModel to be enabled by default as per the Prism Library design.

This PR is in preparation for Avalonia v0.11-pre migration.

Feature Includes:

  • Fixed AutoWireViewModel defaulting to True (ViewModelLocator.cs)
  • Fixed Unit Tests (resolving ~40 tests)
    • PrismApplicationBaseFixture previously not calling Initialize()
    • Removed FrameworkElement (WPF) shim which wrapped Avalonia.Controls.Control object.
  • Updated RegionManager to typecast as, AvaloniaObject instead of the lower Visual object. _Not a bug, just a consistency update`
  • Added XML documentation

@DamianSuess DamianSuess self-assigned this Nov 27, 2022
@DamianSuess DamianSuess added the enhancement New feature or request label Nov 27, 2022
@DamianSuess
Copy link
Collaborator Author

Ready for review

@OmidID OmidID merged commit 3051542 into master Nov 28, 2022
@DamianSuess DamianSuess deleted the feature/CleanupAndRepairs branch November 28, 2022 19:17
@DamianSuess
Copy link
Collaborator Author

DamianSuess commented Nov 28, 2022

Thank you @OmidID!
I can spin up a new NuGet package later on today so we can get Autowire by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants