RaceLapTimer/RaceLapTimer/UdpNotifier/UdpNotifierProviderFactory.cs
chris.watts90@outlook.com a07923d214 create nlogLogger project.
create UdpNotifier project.
implemented IPluginPathProvider and IConfigFilePathProvider, IContainerHelper and INotifierManager.
2017-05-24 22:34:40 +01:00

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";
}
}
}