Exemplo n.º 1
0
        public static ObservableIntAverage Create(INotifyEnumerable <int> source)
        {
            var observable = new ObservableIntAverage(source);

            observable.Successors.SetDummy();
            return(observable);
        }
Exemplo n.º 2
0
 public static INotifyValue <double> CreateIntExpression <TSource>(IEnumerableExpression <TSource> source, Expression <Func <TSource, int> > selector)
 {
     return(ObservableIntAverage.Create(source.AsNotifiable().Select(selector)));
 }