A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet/reactive/commit/db8e159c5f1f297b7bc2165ffd77505f391aba4f below:

Compile with .NET 5. Dispatcher -> CoreDispatcher. · dotnet/reactive@db8e159 · GitHub

@@ -16,7 +16,7 @@ namespace System.Reactive.Linq

16 16

/// Provides a set of extension methods for scheduling actions performed through observable sequences on UI dispatchers.

17 17

/// </summary>

18 18

[CLSCompliant(false)]

19 -

public static class DispatcherObservable

19 +

public static class CoreDispatcherObservable

20 20

{

21 21

#region ObserveOn[Dispatcher]

22 22

@@ -122,7 +122,7 @@ public static IObservable<TSource> ObserveOn<TSource>(this IObservable<TSource>

122 122

/// <param name="source">Source sequence.</param>

123 123

/// <returns>The source sequence whose observations happen on the current window's dispatcher.</returns>

124 124

/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>

125 -

public static IObservable<TSource> ObserveOnDispatcher<TSource>(this IObservable<TSource> source)

125 +

public static IObservable<TSource> ObserveOnCoreDispatcher<TSource>(this IObservable<TSource> source)

126 126

{

127 127

if (source == null)

128 128

{

@@ -164,7 +164,7 @@ public static IObservable<TSource> ObserveOnDispatcher<TSource>(this IObservable

164 164

/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="dispatcher"/> is null.</exception>

165 165

/// <remarks>

166 166

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the specified dispatcher.

167 -

/// In order to invoke observer callbacks on the specified dispatcher, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, CoreDispatcher)"/>.

167 +

/// In order to invoke observer callbacks on the specified dispatcher, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, CoreDispatcher)"/>.

168 168

/// </remarks>

169 169

public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher)

170 170

{

@@ -192,7 +192,7 @@ public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource

192 192

/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="dispatcher"/> is null.</exception>

193 193

/// <remarks>

194 194

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the specified dispatcher.

195 -

/// In order to invoke observer callbacks on the specified dispatcher, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, CoreDispatcher, CoreDispatcherPriority)"/>.

195 +

/// In order to invoke observer callbacks on the specified dispatcher, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, CoreDispatcher, CoreDispatcherPriority)"/>.

196 196

/// </remarks>

197 197

public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, CoreDispatcher dispatcher, CoreDispatcherPriority priority)

198 198

{

@@ -220,7 +220,7 @@ public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource

220 220

/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="dependencyObject"/> is null.</exception>

221 221

/// <remarks>

222 222

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the dispatcher associated with the specified object.

223 -

/// In order to invoke observer callbacks on the dispatcher associated with the specified object, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, DependencyObject)"/>.

223 +

/// In order to invoke observer callbacks on the dispatcher associated with the specified object, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, DependencyObject)"/>.

224 224

/// </remarks>

225 225

public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, DependencyObject dependencyObject)

226 226

{

@@ -248,7 +248,7 @@ public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource

248 248

/// <exception cref="ArgumentNullException"><paramref name="source"/> or <paramref name="dependencyObject"/> is null.</exception>

249 249

/// <remarks>

250 250

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the dispatcher associated with the specified object.

251 -

/// In order to invoke observer callbacks on the dispatcher associated with the specified object, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, DependencyObject, CoreDispatcherPriority)"/>.

251 +

/// In order to invoke observer callbacks on the dispatcher associated with the specified object, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOn{TSource}(IObservable{TSource}, DependencyObject, CoreDispatcherPriority)"/>.

252 252

/// </remarks>

253 253

public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource> source, DependencyObject dependencyObject, CoreDispatcherPriority priority)

254 254

{

@@ -275,9 +275,9 @@ public static IObservable<TSource> SubscribeOn<TSource>(this IObservable<TSource

275 275

/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>

276 276

/// <remarks>

277 277

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the dispatcher associated with the current window.

278 -

/// In order to invoke observer callbacks on the dispatcher associated with the current window, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOnDispatcher{TSource}(IObservable{TSource})"/>.

278 +

/// In order to invoke observer callbacks on the dispatcher associated with the current window, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOnCoreDispatcher{TSource}(IObservable{TSource})"/>.

279 279

/// </remarks>

280 -

public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source)

280 +

public static IObservable<TSource> SubscribeOnCoreDispatcher<TSource>(this IObservable<TSource> source)

281 281

{

282 282

if (source == null)

283 283

{

@@ -297,7 +297,7 @@ public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservab

297 297

/// <exception cref="ArgumentNullException"><paramref name="source"/> is null.</exception>

298 298

/// <remarks>

299 299

/// Only the side-effects of subscribing to the source sequence and disposing subscriptions to the source sequence are run on the dispatcher associated with the current window.

300 -

/// In order to invoke observer callbacks on the dispatcher associated with the current window, e.g. to render results in a control, use <see cref="DispatcherObservable.ObserveOnDispatcher{TSource}(IObservable{TSource}, CoreDispatcherPriority)"/>.

300 +

/// In order to invoke observer callbacks on the dispatcher associated with the current window, e.g. to render results in a control, use <see cref="CoreDispatcherObservable.ObserveOnDispatcher{TSource}(IObservable{TSource}, CoreDispatcherPriority)"/>.

301 301

/// </remarks>

302 302

public static IObservable<TSource> SubscribeOnDispatcher<TSource>(this IObservable<TSource> source, CoreDispatcherPriority priority)

303 303

{


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4