public ProjectType(ProjectNamespace projectNamespace) { this.projectNamespace = projectNamespace; this.fields = new Dictionary<string, ProjectMember>(); this.properties = new Dictionary<string, ProjectMember>(); this.methods = new Dictionary<string, ProjectMember>(); }
public ProjectNamespace EnsureNamespace(String namespacePath) { ProjectNamespace pn = this.GetNamespace(namespacePath); if (pn == null) { pn = new ProjectNamespace(this); pn.Path = namespacePath; this.namespaces.Add(namespacePath.ToLower(), pn); } return pn; }