Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public void AppendFeature([NotNull] string message) =>
 MyFeatureDescriptions.Add(new T4TextDescription(message));
Ejemplo n.º 3
0
 public void AppendFeature([NotNull] IT4AppendableElementDescription description) =>
 MyFeatureDescriptions.Add(description);