コード例 #1
0
        public IQbservable <TSource> Query(Action <WebSocket> prepareSocket, object argument)
        {
            Contract.Requires(prepareSocket != null);
            Contract.Ensures(Contract.Result <IQbservable <TSource> >() != null);

            return(WebSocketQactiveProvider.Client(typeof(TSource), uri, prepareSocket, formatter, localEvaluator, argument).CreateQuery <TSource>());
        }
コード例 #2
0
        public IQbservable <TSource> Query()
        {
            Contract.Ensures(Contract.Result <IQbservable <TSource> >() != null);

            return(WebSocketQactiveProvider.Client(typeof(TSource), uri, Nop.Action, formatter, localEvaluator).CreateQuery <TSource>());
        }