generator templates, отправка в MQ
This commit is contained in:
23
PARR.API/Settings/MqSettings.cs
Normal file
23
PARR.API/Settings/MqSettings.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user