public static ObservableFloatAverage Create(INotifyEnumerable <float> source) { var observable = new ObservableFloatAverage(source); observable.Successors.SetDummy(); return(observable); }
public static INotifyValue <float> CreateFloatExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, float> > predicate) { return(ObservableFloatAverage.Create(source.AsNotifiable().Select(predicate))); }