Table of Contents

Class ChronicleClientOptions

Namespace
Cratis.Chronicle
Assembly
Cratis.Chronicle.dll

Represents the options for connecting a Chronicle client to an event store.

public class ChronicleClientOptions : ChronicleOptions
Inheritance
ChronicleClientOptions
Inherited Members

Remarks

Extends ChronicleOptions with settings that are required for connecting to a specific event store and resolving the event store namespace. These settings apply to all .NET hosts (ASP.NET Core, worker services, etc.). For ASP.NET Core-specific options such as HTTP header-based namespace resolution, see ChronicleAspNetCoreOptions.

Properties

EventStore

Gets or sets the name of the event store to use.

[Required]
public EventStoreName EventStore { get; set; }

Property Value

EventStoreName

EventStoreNamespaceResolverType

Gets or sets the type of the IEventStoreNamespaceResolver to use. When null, defaults to DefaultEventStoreNamespaceResolver at runtime. Override this to use a different resolution strategy (for example, a tenant-based resolver).

public Type? EventStoreNamespaceResolverType { get; set; }

Property Value

Type