create UdpNotifier project. implemented IPluginPathProvider and IConfigFilePathProvider, IContainerHelper and INotifierManager.
29 lines
619 B
C#
29 lines
619 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Interfaces;
|
|
|
|
namespace UdpNotifier
|
|
{
|
|
public class UdpNotifierProviderFactory : INotifierProviderFactory
|
|
{
|
|
private ILoggerService _logger;
|
|
|
|
public UdpNotifierProviderFactory(ILoggerService logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public INotifierProvider CreateProvider()
|
|
{
|
|
return new UdpNotifierProvider(_logger);
|
|
}
|
|
|
|
public new string GetType()
|
|
{
|
|
return "UdpNotifierProviderFactory";
|
|
}
|
|
}
|
|
}
|