Class ExternalServices

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

Represents an implementation of IExternalServices.

public class ExternalServices : IExternalServices
Inheritance
ExternalServices
Implements
Inherited Members
Extension Methods

Constructors

ExternalServices(IEventStore, ILogger<ExternalServices>)

Represents an implementation of IExternalServices.

public ExternalServices(IEventStore eventStore, ILogger<ExternalServices> logger)

Parameters

eventStore IEventStore

The IEventStore.

logger ILogger<ExternalServices>

The ILogger.

Methods

Register(string, Action<IExternalServiceBuilder>)

Registers an external service.

public 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.