BlocklistClientHostExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to add BlocklistClient to an IHostApplicationBuilder.
public static class BlocklistClientHostExtensions
type BlocklistClientHostExtensions = class
Public Module BlocklistClientHostExtensions
- Inheritance
-
BlocklistClientHostExtensions
Methods
| Name | Description |
|---|---|
| AddBlocklistClient(IHostApplicationBuilder, String, Action<BlocklistClientSettings>) |
Adds a singleton BlocklistClient to the IHostApplicationBuilder's service collection. |
| AddBlocklistClient(IHostApplicationBuilder, String) |
Adds a singleton BlocklistClient to the IHostApplicationBuilder's service collection. |
| AddKeyedBlocklistClient(IHostApplicationBuilder, String, String, Action<BlocklistClientSettings>) |
Adds a keyed singleton BlocklistClient to the IHostApplicationBuilder's service collection. |
| AddKeyedBlocklistClient(IHostApplicationBuilder, String, String) |
Adds a keyed singleton BlocklistClient to the IHostApplicationBuilder's service collection. |