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 support for HtmlString and IHtmlString #349

Merged
merged 1 commit into from
Jun 5, 2023
Merged

Conversation

twsouthwick
Copy link
Member

IHtmlString has been added to .NET 8 in box, but not the HtmlString
implementation. This means we will have both types here, but forward
when possible to in-box versions:

  • On .NET Framework, both are type forwarded
  • On .NET 8+, IHtmlString will be type forwarded
  • Otherwise, both implementations with live in the adapters

This will allow users to compikle against .NET Standard, and have
expected behavior light up on the platforms that support it.

IHtmlString has been added to .NET 8 in box, but not the HtmlString
implementation. This means we will have both types here, but forward
when possible to in-box versions:

- On .NET Framework, both are type forwarded
- On .NET 8+, IHtmlString will be type forwarded
- Otherwise, both implementations with live in the adapters

This will allow users to compikle against .NET Standard, and have
expected behavior light up on the platforms that support it.
@twsouthwick twsouthwick merged commit 0a679a1 into main Jun 5, 2023
@twsouthwick twsouthwick deleted the tasou/htmlstring branch June 5, 2023 23:44
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.

2 participants