public override bool Equals(object obj) { ResolvedFile other = obj as ResolvedFile; return(other != null && other.SourcePath == SourcePath && other.DestinationSubDirectory == DestinationSubDirectory); }
private RuntimeFile CreateRuntimeFile(ResolvedFile resolvedFile) { string relativePath = resolvedFile.PathInPackage; if (string.IsNullOrEmpty(relativePath)) { relativePath = resolvedFile.DestinationSubPath; } return(CreateRuntimeFile(relativePath, resolvedFile.SourcePath)); }