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