Skip to content

Instantly share code, notes, and snippets.

@DeeJayTC DeeJayTC/status.cs
Last active Feb 21, 2019

What would you like to do?
using AdaptiveCards;
// ...
AdaptiveCard card = new AdaptiveCard();
var container = new AdaptiveContainer();
var column = new AdaptiveColumn(){Width=Auto};
column.Items.Add(new AdaptiveImage(
Url = Status.Person.ProfileImage
column = new AdaptiveColumn() { Width = Auto };
column.Items.Add(new AdaptiveTextBlock()
Text = $"The Status for {Status.Person.FirstName} {Status.Person.LastName} was updated"
// etc etc to keep the sample small
// serialize the card to JSON
string json = card.ToJson();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.