public static void Add(string name, ScriptUsing scriptUsing) { if (_memoryList.ContainsKey(name)) { return; } _memoryList.Add(name, scriptUsing); }
public static ScriptUsing Get(string name) { ScriptUsing ret = null; if (_memoryList.TryGetValue(name, out ret)) { return(ret); } return(null); }