Blackbird.Applications.Sdk.Utils.Html
1.0.1
dotnet add package Blackbird.Applications.Sdk.Utils.Html --version 1.0.1
NuGet\Install-Package Blackbird.Applications.Sdk.Utils.Html -Version 1.0.1
<PackageReference Include="Blackbird.Applications.Sdk.Utils.Html" Version="1.0.1" />
<PackageVersion Include="Blackbird.Applications.Sdk.Utils.Html" Version="1.0.1" />
<PackageReference Include="Blackbird.Applications.Sdk.Utils.Html" />
paket add Blackbird.Applications.Sdk.Utils.Html --version 1.0.1
#r "nuget: Blackbird.Applications.Sdk.Utils.Html, 1.0.1"
#:package Blackbird.Applications.Sdk.Utils.Html@1.0.1
#addin nuget:?package=Blackbird.Applications.Sdk.Utils.Html&version=1.0.1
#tool nuget:?package=Blackbird.Applications.Sdk.Utils.Html&version=1.0.1
Blackbird Applications SDK - HTML Utilities
Overview
Blackbird.Applications.Sdk.Utils.Html is a NuGet package that provides essential utilities for working with HTML content in Blackbird applications.
Usage
The package includes a HtmlExtensions
class with the following methods:
AsHtml
Converts a tuple containing a title and a body into an HTML string.
public static string AsHtml(this (string title, string body) tuple)
AsHtmlDocument
Converts an HTML string into an HtmlDocument
object from the HtmlAgilityPack library.
public static HtmlDocument AsHtmlDocument(this string html)
GetTitle
Extracts the title from an HtmlDocument
object.
public static string GetTitle(this HtmlDocument doc)
GetBody
Extracts the body content from an HtmlDocument
object.
public static string GetBody(this HtmlDocument doc)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net7.0
- HtmlAgilityPack (>= 1.11.51)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.1 | 1,439 | 8/2/2023 |
1.0.1-rc.8502 | 130 | 3/13/2025 |