mirror of
https://github.com/fergalmoran/Quartzmin.git
synced 2025-12-22 17:37:51 +00:00
17 lines
519 B
C#
17 lines
519 B
C#
|
|
namespace Quartz.Plugins.RecentHistory
|
|
{
|
|
public static class Extensions
|
|
{
|
|
public static void SetExecutionHistoryStore(this SchedulerContext context, IExecutionHistoryStore store)
|
|
{
|
|
context.Put(typeof(IExecutionHistoryStore).FullName, store);
|
|
}
|
|
|
|
public static IExecutionHistoryStore GetExecutionHistoryStore(this SchedulerContext context)
|
|
{
|
|
return (IExecutionHistoryStore)context.Get(typeof(IExecutionHistoryStore).FullName);
|
|
}
|
|
}
|
|
}
|