From 3fd7dbb655d760c42ba889319c5862ac37356b45 Mon Sep 17 00:00:00 2001 From: pmosk <65617639+pmosk@users.noreply.github.com> Date: Thu, 11 Feb 2021 16:20:35 +0000 Subject: [PATCH] Return cancellationToken = default --- src/core-func-factory/Func.Factory/Func.Factory.csproj | 4 ++-- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.00.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.01.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.02.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.03.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.04.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.05.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.06.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.07.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.08.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.09.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.10.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.11.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.12.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.13.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.14.cs | 2 +- .../Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.15.cs | 2 +- src/core-func/Func/Func.csproj | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs | 2 +- src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs | 2 +- src/core/Core/Core.csproj | 6 +++--- 36 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/core-func-factory/Func.Factory/Func.Factory.csproj b/src/core-func-factory/Func.Factory/Func.Factory.csproj index 3bf84797..7f179cdc 100644 --- a/src/core-func-factory/Func.Factory/Func.Factory.csproj +++ b/src/core-func-factory/Func.Factory/Func.Factory.csproj @@ -11,7 +11,7 @@ Copyright © 2020 Andrei Sergeev, Pavel Moskovoy System PrimeFuncPack.Core.Func.Factory - 1.0.0-preview.1.3.0 + 1.0.0-preview.1.4.0 @@ -22,7 +22,7 @@ - + diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.00.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.00.cs index fc4bd8b2..ebb73832 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.00.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.00.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(CancellationToken cancellationToken) + public ValueTask InvokeAsync(CancellationToken cancellationToken = default) => funcAsync.Invoke(cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.01.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.01.cs index 3e7f1482..47ab1556 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.01.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.01.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T arg, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T arg, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.02.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.02.cs index 9314c899..2934c9a8 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.02.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.02.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.03.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.03.cs index 1032d3a8..e4397b37 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.03.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.03.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.04.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.04.cs index d3f1ac9c..4a126a11 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.04.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.04.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.05.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.05.cs index 3da9c0c4..19e6fcbb 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.05.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.05.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.06.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.06.cs index c35cd597..b158a8c8 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.06.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.06.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.07.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.07.cs index 5ab13947..601164db 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.07.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.07.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.08.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.08.cs index 46b66d40..cfa213f8 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.08.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.08.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.09.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.09.cs index 8cb210cb..fc0777dd 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.09.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.09.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.10.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.10.cs index b93d2faf..df135b10 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.10.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.10.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.11.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.11.cs index 1eccb692..ea7d9947 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.11.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.11.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.12.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.12.cs index 2d5d092c..3c717e3d 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.12.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.12.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.13.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.13.cs index c8a55c7a..f015c9fe 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.13.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.13.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.14.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.14.cs index def1b003..fe66dfaf 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.14.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.14.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, cancellationToken); } diff --git a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.15.cs b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.15.cs index 9ab7c57f..cfa8dd6a 100644 --- a/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.15.cs +++ b/src/core-func-factory/Func.Factory/Impl.AsyncFunc/ImplAsyncFunc.15.cs @@ -14,7 +14,7 @@ public ImplAsyncFunc( => this.funcAsync = funcAsync; - public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, CancellationToken cancellationToken) + public ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, CancellationToken cancellationToken = default) => funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, cancellationToken); } diff --git a/src/core-func/Func/Func.csproj b/src/core-func/Func/Func.csproj index 17c5afe7..d7a5981e 100644 --- a/src/core-func/Func/Func.csproj +++ b/src/core-func/Func/Func.csproj @@ -11,7 +11,7 @@ Copyright © 2020 Andrei Sergeev, Pavel Moskovoy System PrimeFuncPack.Core.Func - 1.0.0-preview.1.1.0 + 1.0.0-preview.1.2.0 diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs index 041c5391..25048310 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(CancellationToken cancellationToken); + ValueTask InvokeAsync(CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs index 47b4fc9e..807f106f 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T arg, CancellationToken cancellationToken); + ValueTask InvokeAsync(T arg, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs index 2c9ac03e..7562ea05 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs index bcb680ec..00c92a5b 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs index 5aaf3740..840ffbae 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs index 419d7b93..6c444eb2 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs index 381d702a..00d6023d 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs index 1d86cf4f..c196efef 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs index 5cdbbc96..da9b27f3 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs index b83c204a..93e6aa52 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs index 845a1839..1360fd97 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs index c5a3fc67..33540d0c 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs index c988f712..f59837bf 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs index 2f693a83..0cbef0e1 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs index 899c5a18..9596f3ca 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs index d70b1cb4..7405dfa1 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs b/src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs index 91f3871b..e944e3ab 100644 --- a/src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs +++ b/src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs @@ -7,6 +7,6 @@ namespace System { public interface IAsyncFunc { - ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16, CancellationToken cancellationToken); + ValueTask InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16, CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/core/Core/Core.csproj b/src/core/Core/Core.csproj index 0abf3dfc..3ba897fe 100644 --- a/src/core/Core/Core.csproj +++ b/src/core/Core/Core.csproj @@ -11,7 +11,7 @@ Copyright © 2020 Andrei Sergeev, Pavel Moskovoy System PrimeFuncPack.Core - 1.0.0-preview.1.27.1 + 1.0.0-preview.1.28.0 @@ -23,8 +23,8 @@ - - + +