IObservable<> missing .Subscribe extension methods

后端 未结 1 989
不思量自难忘°
不思量自难忘° 2021-01-04 03:16

I\'m using RX extensions and WF4 to create a workflow which reacts to observable messages to progress the workflow. To do this, I bring in an object containing an IObservabl

1条回答
  •  太阳男子
    2021-01-04 03:29

    You're missing this:

    using System;
    

    That's the namespace containing the ObservableExtensions static class with all the Subscribe extension methods.

    Extension methods are "discovered" via using directives (as well as the namespace hierarchy of the code trying to use them).

    0 讨论(0)
提交回复
热议问题