Beispiel #1
0
 public static void Start <T, TOptions>(this IBackgroundJobManager jobManager, string id, TOptions options)
     where T : IBackgroundJob <TOptions>
     where TOptions : class, new()
 {
     jobManager.Start <T>(id, JsonConvert.SerializeObject(options));
 }