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

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