public FileNamespaceEntry(NamespaceEntry namespaceEntry, FileNamespaceEntry parent, string name, FileEntry file) : this(namespaceEntry, file) { Children = new List<FileNamespaceEntry>(); if (parent != null) { Parent = parent; Parent.Children.Add(this); } }
private FileNamespaceEntry(FileEntry file) { File = file; Types = new List<TypeEntry>(); Imports = new List<MemberName>(); Aliases = new Dictionary<string, MemberName>(); //Imports.Add(StandardNamespace); }
private void changeFile() { fileEntry = new FileEntry(SourceFile); fileNamespaceEntry = new FileNamespaceEntry(NamespaceEntryRoot, null, string.Empty, fileEntry); }
private FileNamespaceEntry(NamespaceEntry namespaceEntry, FileEntry file) : this(file) { NamespaceEntry = namespaceEntry; NamespaceEntry.FileNamespaceEntries.Add(this); }