mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-25 12:08:26 +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;
|
||||||
|
using System.Collections.Concurrent;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
@ -17,7 +18,7 @@ namespace OSCADSharp.Scripting
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static Variables Global = new Variables();
|
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>
|
/// <summary>
|
||||||
/// Assigns or gets a variable's value
|
/// Assigns or gets a variable's value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user