Exemple #1
0
        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);
        }
Exemple #2
0
 public LockScopeGraph()
 {
     _dict  = new LockScopeDictionary <TKey>();
     _nodes = new Graph <TKey>();
 }