Therefore, I constantly read that using Subject<T> "bad" - and I agree with the reasoning.
However, I try to make this the best way to avoid using it and to have an example.
Currently, I have an abstract class for my saved configuration classes, which has a protected Save() method that is called whenever a property change is to be saved in the class. This message passes the message to the Subject<T> , which opens through the IObservable<T> interface, which serialization services listen on and serialize the class. It seemed like the most obvious, easiest, and fastest way to do it at the time.
So what would be the RX way to do this without using a theme? Do I instead expose an event and use Observable.FromEventPattern() to subscribe to it? - because it looks more complicated way.
c # system.reactive subject
Cheetah
source share