views:

60

answers:

2

Where can I find this class? I have included the Rx extensions. I have made sure the version I'm compiling to is Silverlight 4. My VS2010 IDE still has no idea what the type IObservable is.

I didn't see them in the System.Collections.Generic namespace like this thread suggests http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions/suggestions/523437-include-iobserver-t-and-iobservable-t-interface

+1  A: 

Not a very long answers, but there's not a lot to say.

Silverlight only uses a small subset of the .NET Framework. That said, IObservable isn't included in Silverlight 4 if you don't include (reference) the System.Reactive.dll

Henrik P. Hessel
+1  A: 

It's in the System namespace, the type is IObservable<T>. You'll need to add a reference to System.Observable.dll from the ReactiveExtensions SDK.

Also, while not strictly required, you'll probably want to add a reference to System.Reactive.dll, which contains numerous extension methods to operate on IObservable<T>.

Judah Himango
Thank you. This was driving me crazy.
tyndall