ChannelAdapterServiceCollectionExtensions 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.
Dependency-injection registration methods for channel adapters.
public static class ChannelAdapterServiceCollectionExtensions
type ChannelAdapterServiceCollectionExtensions = class
Public Module ChannelAdapterServiceCollectionExtensions
- Inheritance
-
ChannelAdapterServiceCollectionExtensions
Methods
| Name | Description |
|---|---|
| AddChannelAdapter<TAdapter>(IServiceCollection, String) |
Registers an adapter for a channel without changing the default adapter. |
| SetDefaultChannelAdapter<TAdapter>(IServiceCollection) |
Explicitly selects an adapter as the default, replacing any previous default selection. |
| TrySetDefaultChannelAdapter<TAdapter>(IServiceCollection) |
Selects an adapter as the default unless a default has already been selected. |