internal RunningBinPathGroup(BinPathConfiguration unifiedPure) { IsUnifiedPure = true; _generatedDllName = String.Empty; Configuration = unifiedPure; SimilarConfigurations = new[] { unifiedPure }; _names = "(Unified)"; }
internal RunningBinPathGroup(string generatedAssemblyName, BinPathConfiguration head, BinPathConfiguration[] similars, SHA1Value sha) { Debug.Assert(generatedAssemblyName != null && generatedAssemblyName.StartsWith(StObjContextRoot.GeneratedAssemblyName)); Debug.Assert(similars != null && similars.Length > 0 && similars[0] == head); _generatedDllName = $"{generatedAssemblyName}-{head.Name}.dll"; Configuration = head; SimilarConfigurations = similars; RunSignature = sha; GeneratedSource = CreateG0(head); GeneratedAssembly = CreateAssembly(head); _names = similars.Select(c => c.Name).Concatenate(); }
GeneratedFileArtifactWithTextSignature CreateAssembly(BinPathConfiguration c) => new GeneratedFileArtifactWithTextSignature(c.OutputPath.AppendPart(_generatedDllName));
GeneratedG0Artifact CreateG0(BinPathConfiguration c) => new GeneratedG0Artifact(c.ProjectPath.AppendPart("G0.cs"));
internal RunningBinPathGroup(string generatedAssemblyName, BinPathConfiguration head, SHA1Value sha) : this(generatedAssemblyName, head, new[] { head }, sha) { }