hello, does anybody know how to bypass an observable delegate on a property? ideally I'd like to be able to declare an extension property on the type enclosing the delegated property that allows setting the field straightaway
m
mkrussel
08/14/2023, 5:44 PM
I don't think you can. Instead you probably want to just not use a delegated property.
Instead create a private property. Then a public property with a custom setter and getter. Do the observable behavior when the public setter is called.
If it wasn't supposed to be a public setter, then probably a private function for setting and doing the observing work.