Skip to content

Commit

Permalink
update layer document generic arguments count to four
Browse files Browse the repository at this point in the history
  • Loading branch information
dncsvr committed Oct 10, 2024
1 parent b8c57ea commit 0732287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/architecture/layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ In this example, you see a layer named `LayerX` providing a

### Using non-generic `LayerBase`

`LayerBase<>` classes allow up to three generic arguments. If you need to
implement a layer that has things to configure during more than three phases,
`LayerBase<>` classes allow up to four generic arguments. If you need to
implement a layer that has things to configure during more than four phases,
use non-generic `LayerBase` class, override `GetContext(IPhase phase)` method
and switch given phase according to its type;

Expand Down

0 comments on commit 0732287

Please sign in to comment.