Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add host parameter to AdaptiveCards.Templating #8328

Merged
merged 3 commits into from
Feb 28, 2023

Conversation

paulcam206
Copy link
Member

@paulcam206 paulcam206 commented Feb 24, 2023

Adds a $host parameter to the .NET Templating library (achieving parity with the adaptivecards-templating NPM package).

Basic idea: The app using the templating library can provide its own separate data blob to be used in the binding process. The structure of this data is not specified (similar to the root data blob that can already be supplied). This allows a host application to provide some environmental information for use by the template.

Microsoft Reviewers: Open in CodeFlow

@paulcam206 paulcam206 force-pushed the paulcam/dotnet-host-variable branch 2 times, most recently from ce7451b to 84975c6 Compare February 24, 2023 22:56
Copy link
Contributor

@beervoley beervoley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@paulcam206 paulcam206 force-pushed the paulcam/dotnet-host-variable branch from 84975c6 to 8b0bd6c Compare February 28, 2023 05:05
@paulcam206 paulcam206 enabled auto-merge (squash) February 28, 2023 05:05
@paulcam206 paulcam206 merged commit 54470ff into main Feb 28, 2023
@paulcam206 paulcam206 deleted the paulcam/dotnet-host-variable branch February 28, 2023 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants