Stylet icon indicating copy to clipboard operation
Stylet copied to clipboard

Use Community Toolkit's ObservableValidator as the base class for Screen

Open alexhelms opened this issue 1 year ago • 4 comments

  • Screen derives from ObservableValidator.
  • Replace SetAndNotify with SetProperty.
  • Remove PropertyChangedDispatcher.
  • Remove PropertyChangedBase and use ObservableObject in its place.
  • Remove ValidatingModelBase.
  • Remove IValidationAdapter.
  • Remove IModelValidator.
  • Fix up tests.
  • Remove .NET 4.5.2, dotnet 3.0, and dotnet 3.1 target frameworks.
  • Add .NET 4.6.2, dotnet 6, and dotnet 8 target frameworks required for Community Toolkit.

See #396 for discussion.

alexhelms avatar Oct 21 '24 20:10 alexhelms

Pinging this PR as it has been a while and I have a use case for this :) Thanks!

alexhelms avatar Dec 11 '24 20:12 alexhelms

Sorry, I haven't had much time. Hopefully soon!

canton7 avatar Dec 11 '24 20:12 canton7

Sorry to bug you again, do you think you'll have a chance to look at this soon? Thanks!

alexhelms avatar Mar 04 '25 23:03 alexhelms

Any chance you could take a look at this soon? I'd like to move forward with Community Toolkit MVVM integration without having to fork. Thanks!

alexhelms avatar Oct 03 '25 22:10 alexhelms