Exemple #1
0
        public static ObservableNullableIntAverage Create(INotifyEnumerable <int?> source)
        {
            var observable = new ObservableNullableIntAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Exemple #2
0
 public static INotifyValue <double?> CreateNullableIntExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, int?> > predicate)
 {
     return(ObservableNullableIntAverage.Create(source.AsNotifiable().Select(predicate)));
 }