generator templates, отправка в MQ

This commit is contained in:
Mikhail Trubnikov
2023-09-20 15:27:13 +10:00
parent f9fe762cbe
commit c35dfd58d9
11 changed files with 204 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
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; }
}
}