Language

ChannelAdapterServiceCollectionExtensions Class

Definition

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.

Applies to