Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Jan 22, 2024
1 parent 0156a3f commit 3ff6c8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/chaos/fault.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ sequenceDiagram

## Generating faults

To generate fault, you need to specify `FaultGenerator` delegate. You have the following options to how you customize this delegate:
To generate a fault, you need to specify a `FaultGenerator` delegate. You have the following options as to how you customize this delegate:

### Use `FaultGenerator` class to generate faults

The `FaultGenerator` is convenience API that allows you to specify what faults (exceptions) are to be injected. Additionally, it also allows assigning weight to each registered exception.
The `FaultGenerator` is convenience API that allows you to specify what faults (exceptions) are to be injected. Additionally, it also allows assigning weight to each registered fault.

<!-- snippet: chaos-fault-generator-class -->
```cs
Expand Down
4 changes: 2 additions & 2 deletions docs/chaos/result.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ sequenceDiagram

## Generating outcomes

To generate faulted outcome (result or exception), you need to specify `FaultGenerator` delegate. You have the following options to how you customize this delegate:
To generate a faulted outcome (result or exception), you need to specify a `OutcomeGenerator` delegate. You have the following options as to how you customize this delegate:

### Use `OutcomeGenerator<T>` class to generate outcomes

The `OutcomeGenerator<T>` is convenience API that allows you to specify what outcomes (results or exceptions) are to be injected. Additionally, it also allows assigning weight to each registered outcome.
The `OutcomeGenerator<T>` is a convenience API that allows you to specify what outcomes (results or exceptions) are to be injected. Additionally, it also allows assigning weight to each registered outcome.

<!-- snippet: chaos-outcome-generator-class -->
```cs
Expand Down

0 comments on commit 3ff6c8b

Please sign in to comment.