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