public Build GetBuild(DirectoryStructure directory) { var parent = directory.GetBuild(Parent); var changelog = directory.GetChangelog(Changelog); var version = directory.GetVersion(Version); var metadata = Metadata.GetBuildMetadata(); return(new Build(parent, changelog, version, metadata)); }