public static ObservableNullableLongAverage Create(INotifyEnumerable <long?> source) { var observable = new ObservableNullableLongAverage(source); observable.Successors.SetDummy(); return(observable); }
public static INotifyValue <double?> CreateNullableLongExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, long?> > predicate) { return(ObservableNullableLongAverage.Create(source.AsNotifiable().Select(predicate))); }