Exemplo n.º 1
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.ICalendar"/> s
 ///             in the <see cref="T:Quartz.Spi.IJobStore"/>.
 /// <para>
 /// If there are no Calendars in the given group name, the result should be
 ///             a zero-length array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public Task <IReadOnlyCollection <string> > GetCalendarNames(CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("GetCalendarNames");
     return(Task.FromResult(DoWithLock(() => _storage.CalendarNames(), "Error on getting calendar names")));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.ICalendar"/> s
 ///             in the <see cref="T:Quartz.Spi.IJobStore"/>.
 /// <para>
 /// If there are no Calendars in the given group name, the result should be
 ///             a zero-length array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public IList <string> GetCalendarNames()
 {
     _logger.Info("GetCalendarNames");
     return(DoWithLock(() => _storage.CalendarNames(), "Error on getting calendar names"));
 }