Skip to content

Commit fe161e1

Browse files
authored
update README.md (#28)
1 parent 84e71d3 commit fe161e1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ builder.Services.AddDispatchR(options =>
350350
typeof(DispatchRSample.SecondPipelineBehavior),
351351
typeof(DispatchRSample.GenericPipelineBehavior<,>)
352352
];
353-
options.IncludeHandlers = [];
354-
options.ExcludeHandlers = [];
353+
options.IncludeHandlers = null;
354+
options.ExcludeHandlers = null;
355355
});
356356
```
357357

src/Sample/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
typeof(DispatchRSample.SecondPipelineBehavior),
3535
typeof(DispatchRSample.GenericPipelineBehavior<,>)
3636
];
37-
options.IncludeHandlers = [];
38-
options.ExcludeHandlers = [];
37+
options.IncludeHandlers = null;
38+
options.ExcludeHandlers = null;
3939
});
4040

4141
var app = builder.Build();

0 commit comments

Comments
 (0)