Esempio n. 1
0
        public static ObservableLongAverage Create(INotifyEnumerable <long> source)
        {
            var observable = new ObservableLongAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Esempio n. 2
0
 public static INotifyValue <double> CreateLongExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, long> > predicate)
 {
     return(ObservableLongAverage.Create(source.AsNotifiable().Select(predicate)));
 }