哇,這是不平凡的發現......
的System.Reactive.Concurrency
命名空間的腸子內深處,有一個名爲SchedulerDefaults
內部靜態類,其聲明爲:
internal static class SchedulerDefaults
{
internal static IScheduler AsyncConversions
{ get { return DefaultScheduler.Instance; }}
internal static IScheduler ConstantTimeOperations
{ get { return ImmediateScheduler.Instance; }}
internal static IScheduler Iteration
{ get { return CurrentThreadScheduler.Instance; }}
internal static IScheduler TailRecursion
{ get { return ImmediateScheduler.Instance; }}
internal static IScheduler TimeBasedOperations
{ get { return DefaultScheduler.Instance; }}
}
AsyncConversions
使用由:
Start, ToAsync, FromAsyncPattern
ConstantTimeOperations
使用由:
Empty, GetSchedulerForCurrentContext, Return, StartWith, Throw
Iteration
所使用的:
Generate, Range, Repeat, TakeLast, ToObservable, and the ReplaySubject<T>
TailRecursion
所使用的:
Run
TimeBasedOperations
所使用的:
Buffer, Delay, DelaySubscription, Generate, Interval, Sample, Skip, SkipLast
SkipUntil, Take, TakeLast, TakeLastBuffer, TakeUntil, Throttle, TimeInterval,
Timeout, Timer, Timestamp, Window
我很驚訝居然有ISN」列表某處...如果我有一些時間來傾倒它,我會通過rx代碼庫,看看我是否可以編譯一個列表,但不,我沒有意識到任何浮動的網... ... – JerKimball 2013-03-13 16:50:33
是的,我也在尋找,無濟於事。其中有些是顯而易見的,但有些確實不是! – AlexFoxGill 2013-03-13 17:34:00