FantasticFiasco / mvvm-dialogs

Library simplifying the concept of opening dialogs from a view model when using MVVM in WPF
Apache License 2.0
659 stars 77 forks source link

Made IView Interface and ViewWrapper class public, Exposed Logger.Write Method (#263) #264

Closed HeedfulCrayon closed 1 year ago

HeedfulCrayon commented 1 year ago

Description

Made the MvvmDialogs library extendable to that people could implement their own DialogServiceViews-like class and DialogService class that utilizes that collection of registered views. This allows for people to use a thread-safe collection when running an application with multiple UI threads.

Checklist

HeedfulCrayon commented 1 year ago

I figured this PR was easier to swallow than a refactor of DialogServiceViews to use a ConcurrentDictionary. That way anyone else can use whatever collection they want that fits their specific needs.