starlss
starlss
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
thank you
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
can I close now?
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
ok thanks a lot!
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
wait, how likely do you think it will be for me to use WeakReferences? You see, I'm making a monogame, and I'm taking inspiration from WPF for the UI. I want to understand the entire UI and be able to simplify it and "implement it" in monogame
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
ok, alright, thanks. That seems much better. No more extern definitions I think
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
ok, I think I understand it a bit more. The swarm of attributes is still very confusing.
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
What are the situations in which that behavior is desirable?
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
Ok, so if the only thing referencing an instance in memory is WeakReference, the GC will collect the object regardless?
29 replies
CC#
Created by starlss on 1/2/2023 in #help
✅ I'm trying to understand WPF's source code. What is a WeakReference
Why the IntPtr?
29 replies