Skip to content

Commit

Permalink
Add System.Runtime to CSharpOptions
Browse files Browse the repository at this point in the history
The System.Runtime assembly and namespace has been added to CSharpOptions. This extends the functionality capabilities within the Elsa.CSharp module by providing access to the Guid class and its related methods and properties.
  • Loading branch information
sfmskywalker committed Dec 30, 2023
1 parent eb0395e commit 023ef26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/Elsa.CSharp/Options/CSharpOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public class CSharpOptions
public ISet<Assembly> Assemblies { get; } = new HashSet<Assembly>(new[]
{
typeof(Globals).Assembly, // Elsa.CSharp
typeof(Enumerable).Assembly, // System.Linq,
typeof(Enumerable).Assembly, // System.Linq
typeof(Guid).Assembly, // System.Runtime
typeof(IDictionary<string, object>).Assembly, // System.Collections
});

Expand All @@ -38,6 +39,7 @@ public class CSharpOptions
{
typeof(Globals).Namespace!, // Elsa.CSharp
typeof(Enumerable).Namespace!, // System.Linq
typeof(Guid).Namespace!, // System
typeof(IDictionary<string, object>).Namespace!, // System.Collections.Generic
});

Expand Down

0 comments on commit 023ef26

Please sign in to comment.