mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-11 21:48:34 +00:00
Changed the dictionary in Variables.cs to a ConcurrentDictionary
This commit is contained in:
parent
9f11c39986
commit
eb49310d8a
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -17,7 +18,7 @@ namespace OSCADSharp.Scripting
|
||||
/// </summary>
|
||||
public static Variables Global = new Variables();
|
||||
|
||||
private Dictionary<string, object> variables = new Dictionary<string, object>();
|
||||
private ConcurrentDictionary<string, object> variables = new ConcurrentDictionary<string, object>();
|
||||
|
||||
/// <summary>
|
||||
/// Assigns or gets a variable's value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user