public static ObservableIntAverage Create(INotifyEnumerable <int> source) { var observable = new ObservableIntAverage(source); observable.Successors.SetDummy(); return(observable); }
public static INotifyValue <double> CreateIntExpression <TSource>(IEnumerableExpression <TSource> source, Expression <Func <TSource, int> > selector) { return(ObservableIntAverage.Create(source.AsNotifiable().Select(selector))); }