Пример #1
0
        public static ObservableNullableDecimalAverage Create(INotifyEnumerable <decimal?> source)
        {
            var observable = new ObservableNullableDecimalAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Пример #2
0
 public static INotifyValue <decimal?> CreateNullableDecimal <TSource>(this INotifyEnumerable <TSource> source, Expression <Func <TSource, decimal?> > predicate)
 {
     return(ObservableNullableDecimalAverage.Create(source.Select(predicate)));
 }