Newsbot.Collector/Newsbot.Collector.Services/Jobs/HelloWorldJob.cs

23 lines
359 B
C#
Raw Normal View History

2023-02-14 17:51:22 -08:00
namespace Newsbot.Collector.Services.Jobs;
public class HelloWorldJob
{
public string _message { get; set; }
2023-02-14 17:51:22 -08:00
public HelloWorldJob(string message)
{
_message = message;
}
public void SetMessage(string message)
{
_message = message;
}
2023-02-14 17:51:22 -08:00
public void Execute()
{
Console.WriteLine(_message);
}
}