Fix activity type access bug

This commit is contained in:
Sipke Schoorstra 2021-04-07 13:10:31 +02:00
parent ce957b95e7
commit bbbb8a40f4

View file

@ -45,7 +45,7 @@ namespace Elsa
public ServiceFactory<IActivity> ActivityFactory { get; } = new();
public ServiceFactory<IWorkflow> WorkflowFactory { get; } = new();
public IList<Type> ActivityTypes { get; } = new List<Type>();
public IEnumerable<Type> ActivityTypes => ActivityFactory.Types;
public IList<Type> WorkflowTypes { get; } = new List<Type>();
public IList<Type> MessageTypes { get; } = new List<Type>();