-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
ApiReview/API.Polly.Core/NoDocs/Polly.Simmy.Outcomes/FaultGeneratorArguments.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Assembly 'Polly.Core' | ||
|
||
using System.Runtime.CompilerServices; | ||
|
||
namespace Polly.Simmy.Outcomes; | ||
|
||
public readonly struct FaultGeneratorArguments | ||
{ | ||
public ResilienceContext Context { get; } | ||
public FaultGeneratorArguments(ResilienceContext context); | ||
} |
15 changes: 15 additions & 0 deletions
15
ApiReview/API.Polly.Core/NoDocs/Polly.Simmy.Outcomes/FaultStrategyOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Assembly 'Polly.Core' | ||
|
||
using System; | ||
using System.Runtime.CompilerServices; | ||
using System.Threading.Tasks; | ||
|
||
namespace Polly.Simmy.Outcomes; | ||
|
||
public class FaultStrategyOptions : MonkeyStrategyOptions | ||
{ | ||
public Func<OnFaultInjectedArguments, ValueTask>? OnFaultInjected { get; set; } | ||
public Func<FaultGeneratorArguments, ValueTask<Exception?>>? FaultGenerator { get; set; } | ||
public Exception? Fault { get; set; } | ||
public FaultStrategyOptions(); | ||
} |
13 changes: 13 additions & 0 deletions
13
ApiReview/API.Polly.Core/NoDocs/Polly.Simmy.Outcomes/OnFaultInjectedArguments.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Assembly 'Polly.Core' | ||
|
||
using System; | ||
using System.Runtime.CompilerServices; | ||
|
||
namespace Polly.Simmy.Outcomes; | ||
|
||
public readonly struct OnFaultInjectedArguments | ||
{ | ||
public ResilienceContext Context { get; } | ||
public Exception Fault { get; } | ||
public OnFaultInjectedArguments(ResilienceContext context, Exception fault); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters