コード例 #1
0
ファイル: JobPart.cs プロジェクト: yonglehou/ncron
 /// <summary>
 /// Attaches a name to the schedule entry, allowing it to be executed outside of its schedule using a command line argument.
 /// </summary>
 /// <param name="name">The name under which the schedule entry should be registered.</param>
 public void Named(string name)
 {
     _service.AddNamedJob(name, _queueEntry.ExecutionWrapper);
 }