EsppTemplateSync переделал на IMqService

This commit is contained in:
Mikhail Trubnikov
2023-09-22 09:08:13 +10:00
parent 1f7adf6264
commit f42c8b014e
7 changed files with 19 additions and 95 deletions

View File

@@ -1,4 +1,6 @@
namespace PARR.EsppTemplateSync.Settings
using PARR.BLL.Contracts.Interfaces;
namespace PARR.EsppTemplateSync.Settings
{
internal class GlobalSettings
{
@@ -9,12 +11,12 @@
public string ParsingSeparator { get; set; } = "<|>";
}
internal class MqSettings
internal class MqSettings : IMqSettings
{
public string? HostName { get; set; }
public string? QueueName { get; set; }
public string? UserName { get; set; }
public string? Password { get; set; }
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;
}
internal class StorageSettings