Example #1
0
 internal RunningBinPathGroup(BinPathConfiguration unifiedPure)
 {
     IsUnifiedPure         = true;
     _generatedDllName     = String.Empty;
     Configuration         = unifiedPure;
     SimilarConfigurations = new[] { unifiedPure };
     _names = "(Unified)";
 }
Example #2
0
 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();
 }
Example #3
0
 GeneratedFileArtifactWithTextSignature CreateAssembly(BinPathConfiguration c) => new GeneratedFileArtifactWithTextSignature(c.OutputPath.AppendPart(_generatedDllName));
Example #4
0
 GeneratedG0Artifact CreateG0(BinPathConfiguration c) => new GeneratedG0Artifact(c.ProjectPath.AppendPart("G0.cs"));
Example #5
0
 internal RunningBinPathGroup(string generatedAssemblyName, BinPathConfiguration head, SHA1Value sha)
     : this(generatedAssemblyName, head, new[] { head }, sha)
 {
 }