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

            observable.Successors.SetDummy();
            return(observable);
        }
Пример #2
0
 public static INotifyValue <float> CreateFloatExpression <TSource>(this IEnumerableExpression <TSource> source, Expression <Func <TSource, float> > predicate)
 {
     return(ObservableFloatAverage.Create(source.AsNotifiable().Select(predicate)));
 }