internal ProjectResource(ProjectDirectory directory, ProjectResourceImporter projectResourceImporter) { Explorer = projectResourceImporter.ProjectExplorer; Content = new ProjectResourceContent(projectResourceImporter.ArchiveEntry); Directory = directory; Tags = new ProjectResourceTags(projectResourceImporter); FullName = projectResourceImporter.ProjectKey; Name = projectResourceImporter.ArchiveEntry.Name; Extension = projectResourceImporter.ArchiveEntry.Extension; UncompressedSize = projectResourceImporter.ArchiveEntry.UncompressedSize; Dependencies = new ProjectResourceDependencies(Explorer); Dependants = new ProjectResourceDependencies(Explorer); foreach (var importerDependency in projectResourceImporter.Dependencies) { Dependencies.dependencies.Add( new ProjectResourceDependency(Explorer, importerDependency.Resource, importerDependency.Metadata)); } }
public ProjectResourceDependenciesDebugView(ProjectResourceDependencies source) { this.source = source; }