public LockScopeGraph(IEnumerable <TKey> keys) { var enumerable = keys as TKey[] ?? keys?.ToArray() ?? new TKey[0]; _dict = new LockScopeDictionary <TKey>(enumerable); _nodes = new Graph <TKey>(enumerable); }
public LockScopeGraph() { _dict = new LockScopeDictionary <TKey>(); _nodes = new Graph <TKey>(); }