Example #1
0
        public static ObservableNullableDoubleAverage Create(INotifyEnumerable <double?> source)
        {
            var observable = new ObservableNullableDoubleAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Example #2
0
 public static INotifyValue <double?> CreateNullableDouble <TSource>(this INotifyEnumerable <TSource> source, Expression <Func <TSource, double?> > predicate)
 {
     return(ObservableNullableDoubleAverage.Create(source.Select(predicate)));
 }