Skip to content

Commit

Permalink
Merge pull request #72 from pfpack/feature/FuncInterfaces_InitialCreate
Browse files Browse the repository at this point in the history
Return cancellationToken = default
  • Loading branch information
andreise authored Feb 11, 2021
2 parents 023ea27 + 3fd7dbb commit 7d6355b
Show file tree
Hide file tree
Showing 36 changed files with 39 additions and 39 deletions.
4 changes: 2 additions & 2 deletions src/core-func-factory/Func.Factory/Func.Factory.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Copyright>Copyright © 2020 Andrei Sergeev, Pavel Moskovoy</Copyright>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Core.Func.Factory</AssemblyName>
<Version>1.0.0-preview.1.3.0</Version>
<Version>1.0.0-preview.1.4.0</Version>
</PropertyGroup>

<ItemGroup>
Expand All @@ -22,7 +22,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PrimeFuncPack.Core.Func" Version="1.0.0-preview.1.1.0" />
<PackageReference Include="PrimeFuncPack.Core.Func" Version="1.0.0-preview.1.2.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T arg, CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(T arg, CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(arg, cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(arg1, arg2, cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(arg1, arg2, arg3, cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(arg1, arg2, arg3, arg4, cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken)
public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken = default)
=>
funcAsync.Invoke(arg1, arg2, arg3, arg4, arg5, cancellationToken);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken)
public ValueTask<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken)
public ValueTask<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken)
public ValueTask<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken)
public ValueTask<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public ImplAsyncFunc(
=>
this.funcAsync = funcAsync;

public ValueTask<TResult> 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<TResult> 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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/core-func/Func/Func.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Copyright>Copyright © 2020 Andrei Sergeev, Pavel Moskovoy</Copyright>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Core.Func</AssemblyName>
<Version>1.0.0-preview.1.1.0</Version>
<Version>1.0.0-preview.1.2.0</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.00.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<TResult>
{
ValueTask<TResult> InvokeAsync(CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.01.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T, TResult>
{
ValueTask<TResult> InvokeAsync(T arg, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T arg, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.02.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.03.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.04.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.05.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.06.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.07.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.08.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.09.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.10.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, TResult>
{
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken);
ValueTask<TResult> InvokeAsync(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, CancellationToken cancellationToken = default);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.11.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.12.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.13.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.14.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.15.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, in T15, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
2 changes: 1 addition & 1 deletion src/core-func/Func/IAsyncFunc/IAsyncFunc.16.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ namespace System
{
public interface IAsyncFunc<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, in T15, in T16, TResult>
{
ValueTask<TResult> 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<TResult> 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);
}
}
6 changes: 3 additions & 3 deletions src/core/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Copyright>Copyright © 2020 Andrei Sergeev, Pavel Moskovoy</Copyright>
<RootNamespace>System</RootNamespace>
<AssemblyName>PrimeFuncPack.Core</AssemblyName>
<Version>1.0.0-preview.1.27.1</Version>
<Version>1.0.0-preview.1.28.0</Version>
</PropertyGroup>

<ItemGroup>
Expand All @@ -23,8 +23,8 @@

<ItemGroup>
<PackageReference Include="PrimeFuncPack.Core.Failure" Version="1.0.0" />
<PackageReference Include="PrimeFuncPack.Core.Func" Version="1.0.0-preview.1.1.0" />
<PackageReference Include="PrimeFuncPack.Core.Func.Factory" Version="1.0.0-preview.1.3.0" />
<PackageReference Include="PrimeFuncPack.Core.Func" Version="1.0.0-preview.1.2.0" />
<PackageReference Include="PrimeFuncPack.Core.Func.Factory" Version="1.0.0-preview.1.4.0" />
<PackageReference Include="PrimeFuncPack.Core.Optional" Version="1.0.4" />
<PackageReference Include="PrimeFuncPack.Core.Result" Version="1.0.0-preview.1.24" />
<PackageReference Include="PrimeFuncPack.Core.TaggedUnion" Version="1.0.4" />
Expand Down

0 comments on commit 7d6355b

Please sign in to comment.