From 74a538f6725ebc83efda4bb07d5747e8a6359e19 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Mon, 16 Dec 2013 22:30:03 +0900 Subject: Import Official Rx 2.2 (3ebdd2e09991) I made changes from the original source tree to match the older tree so that we don't have to make several changes to project tree generator. (There is actually no new sources in Rx so hopefully we can just reuse existing modifications in the tree). --- .../System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs') diff --git a/Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs b/Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs index a092d99..7222816 100644 --- a/Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs +++ b/Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/Skip.cs @@ -5,7 +5,7 @@ using System; using System.Reactive.Concurrency; using System.Reactive.Disposables; -namespace System.Reactive.Linq.Observαble +namespace System.Reactive.Linq.ObservableImpl { class Skip : Producer { @@ -27,7 +27,7 @@ namespace System.Reactive.Linq.Observαble _scheduler = scheduler; } - public IObservable Ω(int count) + public IObservable Omega(int count) { // // Sum semantics: @@ -39,7 +39,7 @@ namespace System.Reactive.Linq.Observαble return new Skip(_source, _count + count); } - public IObservable Ω(TimeSpan duration) + public IObservable Omega(TimeSpan duration) { // // Maximum semantics: @@ -66,7 +66,7 @@ namespace System.Reactive.Linq.Observαble } else { - var sink = new τ(this, observer, cancel); + var sink = new SkipImpl(this, observer, cancel); setSink(sink); return sink.Run(); } @@ -105,12 +105,12 @@ namespace System.Reactive.Linq.Observαble } } - class τ : Sink, IObserver + class SkipImpl : Sink, IObserver { private readonly Skip _parent; private volatile bool _open; - public τ(Skip parent, IObserver observer, IDisposable cancel) + public SkipImpl(Skip parent, IObserver observer, IDisposable cancel) : base(observer, cancel) { _parent = parent; -- cgit v1.2.3