Exemple #1
0
        public static ObservableDoubleAverage Create(INotifyEnumerable <double> source)
        {
            var observable = new ObservableDoubleAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Exemple #2
0
 public static INotifyValue <double> CreateDoubleExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, double> > predicate)
 {
     return(ObservableDoubleAverage.Create(source.AsNotifiable().Select(predicate)));
 }