From bbbb8a40f4dba450516a02873d10ca480a728fdb Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 7 Apr 2021 13:10:31 +0200 Subject: [PATCH] Fix activity type access bug --- src/core/Elsa.Core/ElsaOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Elsa.Core/ElsaOptions.cs b/src/core/Elsa.Core/ElsaOptions.cs index 4d8a72448..c9e987149 100644 --- a/src/core/Elsa.Core/ElsaOptions.cs +++ b/src/core/Elsa.Core/ElsaOptions.cs @@ -45,7 +45,7 @@ namespace Elsa public ServiceFactory ActivityFactory { get; } = new(); public ServiceFactory WorkflowFactory { get; } = new(); - public IList ActivityTypes { get; } = new List(); + public IEnumerable ActivityTypes => ActivityFactory.Types; public IList WorkflowTypes { get; } = new List(); public IList MessageTypes { get; } = new List();