示例#1
0
            public IQubscription Subscribe(string id, IQbserver <T> observer)
            {
                var expression = Expression.Invoke(Expression.Parameter(typeof(Func <IQbservable <T>, string, IQbserver <T>, IQubscription>), "rx://builtin/subscribe"), Expression, Expression.Constant(id, typeof(string)), observer.Expression);
                var normalized = ExpressionService.Normalize(expression);

                Provider.Service.Evaluate(normalized);
                return(Provider.CreateSubscription(Expression.Parameter(typeof(IQubscription), id)));
            }
示例#2
0
 public IQubscription Subscribe(string id, IQbserver <T> observer)
 {
     throw new NotImplementedException();
 }