PatternsCSharpExtraAddons/Patterns/Pattern_1-Стратегия/WindowsEventLogReader.cs
Dvurechensky a4cd4b4ced 1.0
Main
2024-10-05 09:30:14 +03:00

18 lines
359 B
C#

namespace Behavioral;
public class WindowsEventLogReader : ILogReader
{
public List<LogEntry> Read()
{
return new List<LogEntry>()
{
new LogEntry()
{
DateTime = DateTime.Now,
Message = GetType().Name,
Severity = LogType.Debug
}
};
}
}