Class ProtoInfrastructureRegistration

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Registered infrastructure with the configuration keys it provides, for example ConnectionStrings:Northstar for the application and ProtoTest:... for the adapter. The host exposes started values through ProtoInfrastructureSettings, and the in-process application receives them as host settings automatically.

public sealed record ProtoInfrastructureRegistration : IEquatable<ProtoInfrastructureRegistration>
Inheritance
ProtoInfrastructureRegistration
Implements
Inherited Members
Extension Methods

Constructors

ProtoInfrastructureRegistration(IProtoInfrastructure, IReadOnlyList<string>)

Registered infrastructure with the configuration keys it provides, for example ConnectionStrings:Northstar for the application and ProtoTest:... for the adapter. The host exposes started values through ProtoInfrastructureSettings, and the in-process application receives them as host settings automatically.

public ProtoInfrastructureRegistration(IProtoInfrastructure Infrastructure, IReadOnlyList<string> Settings)

Parameters

Infrastructure IProtoInfrastructure
Settings IReadOnlyList<string>

Properties

Infrastructure

public IProtoInfrastructure Infrastructure { get; init; }

Property Value

IProtoInfrastructure

Settings

public IReadOnlyList<string> Settings { get; init; }

Property Value

IReadOnlyList<string>