Radeon Reset Bug fix service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RadeonResetBugFix/RadeonResetBugFixService/Tasks/BasicTasks/SleepTask.cs

24 lines
464 B

namespace RadeonResetBugFixService.Tasks.BasicTasks
{
using System;
using System.Threading;
using Contracts;
class SleepTask : ITask
{
private TimeSpan SleepTime { get; }
public string TaskName => "Sleep";
public SleepTask(TimeSpan sleepTime)
{
this.SleepTime = sleepTime;
}
public void Run(ILogger logger)
{
Thread.Sleep(this.SleepTime);
}
}
}