예제 #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)
 {
 }