Class ProtoInfrastructureRegistration
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
InfrastructureIProtoInfrastructureSettingsIReadOnlyList<string>
Properties
Infrastructure
public IProtoInfrastructure Infrastructure { get; init; }
Property Value
Settings
public IReadOnlyList<string> Settings { get; init; }