I work through Hands-On-Labs for reactive extensions (Rx HOL.NET.pdf), which I downloaded from the data developer center ( here ) a few days ago.
I added these links to my project using NuGet:
System.Reactive 1.0.10621.0 System.Reactive.Windows.Forms 1.0.10621.0
I have almost finished working with laboratories, but I fell into the trap of trying to implement the .Switch () example, Visual Studio cannot find an extension method:
'System.IObservable' does not contain a definition for 'Switch' and the extension method 'Switch' takes the first argument of type 'System.IObservable' (you donβt see the link using the directive or assembly?)
Now I know that the Hands On Labs document is deprecated because some things have been renamed ( FromEvent became FromEventPattern ) and some things have been deleted ( RemoveTimeStamp ), and this document does not reflect this. For life, I cannot guess that they renamed Switch , or find out which assembly they could transfer, or find a complete list of release notes that indicate that it was deleted.
Does anyone know where I can find Switch and what is the current name?
source share