elsa-core/src/modules/Elsa.Workflows.Runtime/Tasks/PopulateRegistriesStartupTask.cs
AlmightyLks 153397e63c
Fix all broken summary xml docs (#6123)
* Add proper summary tags back

* Apply suggestions from code review

Co-authored-by: Robin Sue <robinsue@live.de>

* 69 more files fixed

---------

Co-authored-by: Robin Sue <robinsue@live.de>
2024-11-18 13:41:27 +01:00

18 lines
594 B
C#

using Elsa.Common;
using Elsa.Common.RecurringTasks;
using JetBrains.Annotations;
namespace Elsa.Workflows.Runtime.Tasks;
/// <summary>
/// Updates the workflow store from <see cref="IWorkflowsProvider"/> implementations, creates triggers and updates the <see cref="IActivityRegistry"/>.
/// </summary>
[UsedImplicitly]
[SingleNodeTask]
public class PopulateRegistriesStartupTask(IRegistriesPopulator registriesPopulator) : IStartupTask
{
public async Task ExecuteAsync(CancellationToken cancellationToken)
{
await registriesPopulator.PopulateAsync(cancellationToken);
}
}