nRoute and Rx

Jun 16, 2010 at 10:20 AM

The extension methods defined in RelayExtensions (nroute.Components), conflict with those defined in ObservableExtensions (System.Linq), specifically those targeting IObservable.

Coordinator
Jun 17, 2010 at 12:35 PM

Well, I'm aware of that, the duplication is because nRoute doesn't take a dependency on Rx-framework. Maybe I should internalize them for future?

Rishi

Jul 1, 2010 at 3:44 PM

To add my opinion to this, this issue is my biggest pet peeve about nRoute, because i use Rx extensively and it means i have to break my statements up to explicitly define the namespace on the select method.  Personally ive never used the extension methods on RelayExtensions type so internalising them sounds good to me.

Coordinator
Jul 1, 2010 at 4:49 PM

Input noted, though I often use SetRelayConverter extension method as it helps do away with creating individual value converter classes. And the SetRelayCommand and SetRelayValue are also useful sometimes.

Rishi