Skip to content

Commit 023ef26

Browse files
committed
Add System.Runtime to CSharpOptions
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.
1 parent eb0395e commit 023ef26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/Elsa.CSharp/Options/CSharpOptions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public class CSharpOptions
2727
public ISet<Assembly> Assemblies { get; } = new HashSet<Assembly>(new[]
2828
{
2929
typeof(Globals).Assembly, // Elsa.CSharp
30-
typeof(Enumerable).Assembly, // System.Linq,
30+
typeof(Enumerable).Assembly, // System.Linq
31+
typeof(Guid).Assembly, // System.Runtime
3132
typeof(IDictionary<string, object>).Assembly, // System.Collections
3233
});
3334

@@ -38,6 +39,7 @@ public class CSharpOptions
3839
{
3940
typeof(Globals).Namespace!, // Elsa.CSharp
4041
typeof(Enumerable).Namespace!, // System.Linq
42+
typeof(Guid).Namespace!, // System
4143
typeof(IDictionary<string, object>).Namespace!, // System.Collections.Generic
4244
});
4345

0 commit comments

Comments
 (0)