23 lines
434 B
C#
23 lines
434 B
C#
using Nop.Services.ScheduleTasks;
|
|
|
|
namespace Nop.Tests.Nop.Services.Tests.ScheduleTasks;
|
|
|
|
public class TestScheduleTask : IScheduleTask
|
|
{
|
|
public TestScheduleTask()
|
|
{
|
|
IsInit = true;
|
|
}
|
|
|
|
public Task ExecuteAsync()
|
|
{
|
|
throw new System.NotImplementedException();
|
|
}
|
|
|
|
public static bool IsInit { get; protected set; }
|
|
|
|
public static void ResetInitFlag()
|
|
{
|
|
IsInit = false;
|
|
}
|
|
} |