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
namestringThe name of the external service. The name is also used as its identifier.
configureAction<IExternalServiceBuilder>The Action<T> for configuring the external service.
Returns
- Task
Awaitable task.