protected override void EndProcessing() { var card = new Card { Title = Title, Text = Text, Links = Links, Id = Id, Language = Language, FontColor = FontColor?.HtmlColor, BackgroundColor = BackgroundColor?.HtmlColor, Icon = Watermark.GetIconName(), TextAlignment = TextAlignment.GetName(), TextSize = TextSize.GetName(), Content = Content?.Invoke().Select(m => m?.BaseObject).ToArray() }; Log.Debug(JsonConvert.SerializeObject(card)); WriteObject(card); }