public override string MakeString() { var fullText = ""; if (ForegroundColor != null) { fullText += ForegroundColor.GetForegroundAnsi(); } if (BackgroundColor != null) { fullText += BackgroundColor.GetBackgroundAnsi(); } foreach (var feature in Features) { fullText += feature.Ansi; } fullText += Text; fullText += ResetAnsi; return(fullText); }