Skip to content

Commit

Permalink
Make RDC implementation internal
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Jul 1, 2013
1 parent 25842a6 commit 5cb784d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ReactiveUI.Tests/ReactiveCollectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ public void CreateCollectionWithTimer()
var sched = new TestScheduler();

using (TestUtils.WithScheduler(sched)) {
ReactiveList<string> fixture;
IReactiveDerivedList<string> fixture;

fixture = input.ToObservable(sched).CreateCollection(TimeSpan.FromSeconds(0.5));
sched.AdvanceToMs(1005);
Expand Down
2 changes: 1 addition & 1 deletion ReactiveUI.Tests/ReactiveCommandTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void RegisterAsyncFunctionSmokeTest()
{
(new TestScheduler()).With(sched => {
var fixture = new ReactiveCommand();
ReactiveList<int> results;
IReactiveDerivedList<int> results;
results = fixture.RegisterAsync(_ =>
Observable.Return(5).Delay(TimeSpan.FromSeconds(5), sched)).CreateCollection();
Expand Down
8 changes: 4 additions & 4 deletions ReactiveUI/ReactiveCollectionMixins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace ReactiveUI
/// It is read-only, and any attempts to change items in the collection will
/// fail.
/// </summary>
public abstract class ReactiveDerivedCollection<TValue> : ReactiveList<TValue>, IReactiveDerivedList<TValue>, IDisposable
internal abstract class ReactiveDerivedCollection<TValue> : ReactiveList<TValue>, IReactiveDerivedList<TValue>, IDisposable
{
const string readonlyExceptionMessage = "Derived collections cannot be modified.";

Expand Down Expand Up @@ -176,7 +176,7 @@ public virtual void Dispose(bool disposing) { }
/// It is read-only, and any attempts to change items in the collection will
/// fail.
/// </summary>
public sealed class ReactiveDerivedCollection<TSource, TValue> : ReactiveDerivedCollection<TValue>, IDisposable
internal sealed class ReactiveDerivedCollection<TSource, TValue> : ReactiveDerivedCollection<TValue>, IDisposable
{
readonly IEnumerable<TSource> source;
readonly Func<TSource, TValue> selector;
Expand Down Expand Up @@ -798,7 +798,7 @@ public static class ReactiveCollectionMixins
/// collection no faster than the delay provided.</param>
/// <returns>A new collection which will be populated with the
/// Observable.</returns>
public static ReactiveDerivedCollection<T> CreateCollection<T>(
public static IReactiveDerivedList<T> CreateCollection<T>(
this IObservable<T> fromObservable,
TimeSpan? withDelay = null,
Action<Exception> onError = null)
Expand All @@ -821,7 +821,7 @@ public static ReactiveDerivedCollection<T> CreateCollection<T>(
/// collection no faster than the delay provided.</param>
/// <returns>A new collection which will be populated with the
/// Observable.</returns>
public static ReactiveDerivedCollection<TRet> CreateCollection<T, TRet>(
public static IReactiveDerivedList<TRet> CreateCollection<T, TRet>(
this IObservable<T> fromObservable,
Func<T, TRet> selector,
TimeSpan? withDelay = null)
Expand Down

0 comments on commit 5cb784d

Please sign in to comment.