Interface IExternalServices

Namespace
Cratis.Chronicle.ExternalServices
Assembly
Cratis.Chronicle.dll

Defines a system for working with external service registrations for the Kernel.

public interface IExternalServices
Extension Methods

Methods

Register(string, Action<IExternalServiceBuilder>)

Registers an external service.

Task Register(string name, Action<IExternalServiceBuilder> configure)

Parameters

name string

The name of the external service. The name is also used as its identifier.

configure Action<IExternalServiceBuilder>

The Action<T> for configuring the external service.

Returns

Task

Awaitable task.