Пример #1
0
        public static IObservable <IDictionary <string, object> > ProjectAwayExpressions(this IObservable <IDictionary <string, object> > source, string expression)
        {
            var projectAway = new ProjectAwayOperator(expression);

            return(Observable.Create <IDictionary <string, object> >(
                       observer => source.Subscribe(e =>
            {
                try
                {
                    var r = projectAway.ProjectAway(e);
                    observer.OnNext(r);
                }
                catch (Exception ex)
                {
                    RxKqlEventSource.Log.LogException(ex.ToString());
                    observer.OnError(ex);
                }
            })));
        }
Пример #2
0
 public override T VisitProjectAwayOperator(ProjectAwayOperator node)
 {
     throw new NotImplementedException();
 }