Exemple #1
0
 public void Append([NotNull] T4CSharpCodeGenerationIntermediateResult other)
 {
     MyImportDescriptions.AddRange(other.ImportDescriptions);
     Encoding = Encoding ?? other.Encoding;
     if (CollectedBaseClass.IsEmpty)
     {
         CollectedBaseClass.Append(other.CollectedBaseClass);
     }
     MyTransformationDescriptions.AddRange(other.TransformationDescriptions);
     MyFeatureDescriptions.AddRange(other.FeatureDescriptions);
     MyParameterDescriptions.AddRange(other.ParameterDescriptions);
     // 'feature started' is intentionally ignored
     HasHost = HasHost || other.HasHost;
 }
Exemple #2
0
 public void Append([NotNull] T4ParameterDescription description) => MyParameterDescriptions.Add(description);