/// <summary> /// Get the names of all of the <see cref="T:Quartz.ITrigger"/> /// groups. /// <para> /// If there are no known group names, the result should be a zero-length /// array (not <see langword="null"/>). /// </para> /// </summary> public Task <IReadOnlyCollection <string> > GetTriggerGroupNames(CancellationToken cancellationToken = default(CancellationToken)) { _logger.Info("GetTriggerGroupNames"); return(Task.FromResult(DoWithLock(() => _storage.TriggerGroupNames(), "Error on getting trigger group names"))); }
/// <summary> /// Get the names of all of the <see cref="T:Quartz.ITrigger"/> /// groups. /// <para> /// If there are no known group names, the result should be a zero-length /// array (not <see langword="null"/>). /// </para> /// </summary> public IList <string> GetTriggerGroupNames() { _logger.Info("GetTriggerGroupNames"); return(DoWithLock(() => _storage.TriggerGroupNames(), "Error on getting trigger group names")); }