c# - How to avoid the use of Subjects in RX -
So I keep reading everywhere that the use of the subject However, I'm trying the best way to avoid using it and is an example. At the moment, I have my abstract configuration class which contains a protected So, what would be the RX method of doing this without using a subject? Can I expose an incident instead and use it to use It is not used by If none of the entry points (for example In your case, like save () method that is said to be continuing when a property changes. This message can be found on the
topic
IObservable & lt; T & gt; comes out through the interface, which listens to serialization service class and performs serials. At this time it was the most obvious, simple and fast way to implement it.
Observable.FromEventPattern () ? - As it seems to be a much more complicated way to go about it.
subject & lt; T & gt; is bad - there should be a way to "enter madad" - this is the educational way to say "a
IObservable . You need to start somewhere. Problems arise with
topic
FromEvent ,
FromEventPattern ,
FromAsync ,
return ,
ToObservable () and so on) work for you, then
Subject & lt; T & gt; Using is fully valid. And there is no need to add additional complexity to the convenience of using one of the above versions - most of them use any type of topics or content in any way.
topics & lt; T & gt; Just fine, to hide the details of the implementation, you should show it how.
Comments
Post a Comment