11
11
12
12
namespace ReactiveUI
13
13
{
14
- public abstract class ReactiveDerivedCollection < TValue > : ReactiveList < TValue > , IReactiveDerivedList < TValue >
14
+ public abstract class ReactiveDerivedCollection < TValue > : ReactiveList < TValue > , IDisposable
15
15
{
16
16
const string readonlyExceptionMessage = "Derived collections cannot be modified." ;
17
17
@@ -151,7 +151,7 @@ public void Dispose()
151
151
public virtual void Dispose ( bool disposing ) { }
152
152
}
153
153
154
- public sealed class ReactiveDerivedCollection < TSource , TValue > : ReactiveDerivedCollection < TValue >
154
+ public sealed class ReactiveDerivedCollection < TSource , TValue > : ReactiveDerivedCollection < TValue > , IDisposable
155
155
{
156
156
readonly IEnumerable < TSource > source ;
157
157
readonly Func < TSource , TValue > selector ;
@@ -504,7 +504,7 @@ public override void Dispose(bool disposing)
504
504
}
505
505
}
506
506
507
- internal class ReactiveDerivedCollectionFromObservable < T > : ReactiveDerivedCollection < T >
507
+ internal class ReactiveDerivedCollectionFromObservable < T > : ReactiveDerivedCollection < T >
508
508
{
509
509
SingleAssignmentDisposable inner ;
510
510
@@ -573,7 +573,7 @@ public static class ReactiveCollectionMixins
573
573
/// collection no faster than the delay provided.</param>
574
574
/// <returns>A new collection which will be populated with the
575
575
/// Observable.</returns>
576
- public static IReactiveDerivedList < T > CreateCollection < T > (
576
+ public static ReactiveDerivedCollection < T > CreateCollection < T > (
577
577
this IObservable < T > fromObservable ,
578
578
TimeSpan ? withDelay = null ,
579
579
Action < Exception > onError = null )
@@ -596,7 +596,7 @@ public static IReactiveDerivedList<T> CreateCollection<T>(
596
596
/// collection no faster than the delay provided.</param>
597
597
/// <returns>A new collection which will be populated with the
598
598
/// Observable.</returns>
599
- public static IReactiveDerivedList < TRet > CreateCollection < T , TRet > (
599
+ public static ReactiveDerivedCollection < TRet > CreateCollection < T , TRet > (
600
600
this IObservable < T > fromObservable ,
601
601
Func < T , TRet > selector ,
602
602
TimeSpan ? withDelay = null )
@@ -632,7 +632,7 @@ public static class ObservableCollectionMixin
632
632
/// <returns>A new collection whose items are equivalent to
633
633
/// Collection.Select().Where().OrderBy() and will mirror changes
634
634
/// in the initial collection.</returns>
635
- public static IReactiveDerivedList < TNew > CreateDerivedCollection < T , TNew , TDontCare > (
635
+ public static ReactiveDerivedCollection < TNew > CreateDerivedCollection < T , TNew , TDontCare > (
636
636
this IEnumerable < T > This ,
637
637
Func < T , TNew > selector ,
638
638
Func < T , bool > filter = null ,
@@ -670,7 +670,7 @@ public static IReactiveDerivedList<TNew> CreateDerivedCollection<T, TNew, TDontC
670
670
/// <returns>A new collection whose items are equivalent to
671
671
/// Collection.Select().Where().OrderBy() and will mirror changes
672
672
/// in the initial collection.</returns>
673
- public static IReactiveDerivedList < TNew > CreateDerivedCollection < T , TNew > (
673
+ public static ReactiveDerivedCollection < TNew > CreateDerivedCollection < T , TNew > (
674
674
this IEnumerable < T > This ,
675
675
Func < T , TNew > selector ,
676
676
Func < T , bool > filter = null ,
0 commit comments