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