mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 02:31:08 +00:00
11 lines
378 B
C#
11 lines
378 B
C#
namespace CleanArchitecture.Domain.Settings;
|
|
|
|
public sealed class RabbitMqConfiguration
|
|
{
|
|
public string Host { get; set; } = string.Empty;
|
|
public int Port { get; set; }
|
|
public string Username { get; set; } = string.Empty;
|
|
public string Password { get; set; } = string.Empty;
|
|
|
|
public string ConnectionString => $"amqp://{Username}:{Password}@{Host}:{Port}";
|
|
} |