Files
parr_api/PARR.API/Settings/MqSettings.cs
2023-09-20 15:27:13 +10:00

24 lines
671 B
C#

namespace PARR.API.Settings
{
public class MqSettings
{
public MqGenerateTemplates GenerateTemplates { get; set; } = new MqGenerateTemplates();
}
public class MqGenerateTemplates : IMqSettings
{
public string HostName { get; set; } = string.Empty;
public string QueueName { get; set; } = string.Empty;
public string User { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
}
public interface IMqSettings
{
string HostName { get; set; }
string QueueName { get; set; }
string User { get; set; }
string Password { get; set; }
}
}