|
@@ -24,9 +24,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<IObservable<TResult>> FromAsyncPattern<TResult>(Func<AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -52,9 +50,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, IObservable<TResult>> FromAsyncPattern<TArg1, TResult>(Func<TArg1, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -81,9 +77,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -111,9 +105,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TResult>(Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -142,9 +134,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TResult>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -174,9 +164,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -207,9 +195,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -241,9 +227,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -276,9 +260,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -312,9 +294,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -349,9 +329,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -387,9 +365,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -426,9 +402,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -466,9 +440,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -507,9 +479,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<TResult>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object, IAsyncResult> begin, Func<IAsyncResult, TResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -537,9 +507,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<IObservable<Unit>> FromAsyncPattern(Func<AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -564,9 +532,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, IObservable<Unit>> FromAsyncPattern<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -592,9 +558,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -621,9 +585,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -651,9 +613,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4>(Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -682,9 +642,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -714,9 +672,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -747,9 +703,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -781,9 +735,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -816,9 +768,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -852,9 +802,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -889,9 +837,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -927,9 +873,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -966,9 +910,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|
|
@@ -1006,9 +948,7 @@ namespace System.Reactive.Linq
|
|
|
/// <returns>Function that can be used to start the asynchronous operation and retrieve the result (represented as a Unit value) as an observable sequence.</returns>
|
|
|
/// <exception cref="ArgumentNullException"><paramref name="begin"/> or <paramref name="end"/> is null.</exception>
|
|
|
/// <remarks>Each invocation of the resulting function will cause the asynchronous operation to be started. Subscription to the resulting sequence has no observable side-effect, and each subscription will produce the asynchronous operation's result.</remarks>
|
|
|
-#if PREFER_ASYNC
|
|
|
[Obsolete(Constants_Linq.UseTaskFromAsyncPattern)]
|
|
|
-#endif
|
|
|
public static Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, IObservable<Unit>> FromAsyncPattern<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14>(Func<TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, AsyncCallback, object, IAsyncResult> begin, Action<IAsyncResult> end)
|
|
|
{
|
|
|
if (begin == null)
|