private NodeVirtualFileInfo AddChild(string Part, VirtualFileType Type) { var That = new NodeVirtualFileInfo(Part, Type, this); { this.Childs.Add(That); this.ChildsByName.Add(Part, That); } return That; }
public NodeVirtualFileInfo(string Name, VirtualFileType Type, NodeVirtualFileInfo Parent = null) { this.Name = Name; this.Type = Type; this.Parent = Parent; }