Beispiel #1
0
            public bool TryGetValue(string key, out IReadOnlyNamespaceNode value)
            {
                var result = _parent._childNodes.TryGetValue(key, out var node);

                value = node;
                return(result);
            }
 static void CopyTo(IReadOnlyNamespaceNode source, INamespaceNode node)
 {
     foreach (var item in source)
     {
         node[item.Key.SourceAssembly, item.Key.Type] = item.Value;
     }
     foreach (var childNode in source.ChildNodes)
     {
         CopyTo(childNode.Value, node.GetChildNamespace(childNode.Key));
     }
 }