public static Func <TParam, IAsyncReactiveQbservable <TResult> > GetParameterizedSourceObservable <TParam, TResult>(this IReactiveProxy context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <TParam, TResult>(ReificationConstants.ParameterizedSource.Uri)); }
public static IAsyncReactiveQbservable <T> GetSourceObservable <T>(this IReactiveProxy context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <T>(ReificationConstants.Source.Uri)); }
public static IAsyncReactiveQbservable <TSource> Merge <TSource>(this IReactiveProxy context, params IAsyncReactiveQbservable <TSource>[] sources) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <IAsyncReactiveQbservable <TSource>[], TSource>(new Uri(Remoting.Client.Constants.Observable.Merge.N))(sources)); }
public static IAsyncReactiveQbservable <TResult> Never <TResult>(this IReactiveProxy context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <TResult>(new Uri(Remoting.Client.Constants.Observable.Never.NoArgument))); }
public static IAsyncReactiveQbservable <TResult> Throw <TResult>(this IReactiveProxy context, Exception error) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <Exception, TResult>(new Uri(Remoting.Client.Constants.Observable.Throw.Error))(error)); }
public static IAsyncReactiveQbservable <TResult> Return <TResult>(this IReactiveProxy context, TResult value) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(context.GetObservable <TResult, TResult>(new Uri(Remoting.Client.Constants.Observable.Return.Value))(value)); }