-
|
I understand that individual controls don't have a window handle, so they don't need a Dispose method. However, there are still a couple classes that need to have resources explicitly freed, like Window and DispatcherTimer. For these classes, we have to call a method with some random name (Close, Stop, ...). Making them IDisposable would advertise that fact and uniformize the handling from client code. |
Beta Was this translation helpful? Give feedback.
Answered by
lindexi
Aug 19, 2025
Replies: 1 comment
-
|
Reference: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
trebahl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reference: