Table of Contents

Class ChronicleBuilder

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

Represents an implementation of IChronicleBuilder for .NET clients.

public class ChronicleBuilder : IChronicleBuilder
Inheritance
ChronicleBuilder
Implements
Inherited Members
Extension Methods

Constructors

ChronicleBuilder(IServiceCollection, IConfiguration, IClientArtifactsProvider)

Represents an implementation of IChronicleBuilder for .NET clients.

public ChronicleBuilder(IServiceCollection services, IConfiguration configuration, IClientArtifactsProvider clientArtifactsProvider)

Parameters

services IServiceCollection

IServiceCollection to use.

configuration IConfiguration

IConfiguration to use.

clientArtifactsProvider IClientArtifactsProvider

IClientArtifactsProvider to use.

Properties

ClientArtifactsProvider

Gets or sets the client artifacts provider.

public IClientArtifactsProvider ClientArtifactsProvider { get; set; }

Property Value

IClientArtifactsProvider

Configuration

Gets the configuration.

public IConfiguration Configuration { get; }

Property Value

IConfiguration

CorrelationIdAccessor

Gets or sets the correlation ID accessor.

public ICorrelationIdAccessor? CorrelationIdAccessor { get; set; }

Property Value

ICorrelationIdAccessor

IdentityProvider

Gets or sets the identity provider.

public IIdentityProvider? IdentityProvider { get; set; }

Property Value

IIdentityProvider

NamespaceResolver

Gets or sets the event store namespace resolver.

public IEventStoreNamespaceResolver? NamespaceResolver { get; set; }

Property Value

IEventStoreNamespaceResolver

NamingPolicy

Gets or sets the naming policy used for converting type and property names.

public INamingPolicy? NamingPolicy { get; set; }

Property Value

INamingPolicy

Services

Gets the service collection.

public IServiceCollection Services { get; }

Property Value

IServiceCollection