예제 #1
0
        public static ObservableNullableLongAverage Create(INotifyEnumerable <long?> source)
        {
            var observable = new ObservableNullableLongAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
예제 #2
0
 public static INotifyValue <double?> CreateNullableLongExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, long?> > predicate)
 {
     return(ObservableNullableLongAverage.Create(source.AsNotifiable().Select(predicate)));
 }