Introduce Beam.Fluent and Beam.Models projects

Added new Beam.Fluent and Beam.Models projects with staged download builder and data context models. Refactored and moved model classes from Beam.Temporary.Cli to Beam.Models. Added new data providers and extended DataBindings in Beam.Dynamic. Renamed Beam.Puppeteer to Beam.Playwright and updated related classes. Updated project references and package versions. Removed obsolete and unused files from Beam.Temporary.Cli.
This commit is contained in:
qwsdcvghyu89
2025-09-18 18:32:25 +10:00
parent 849bdcd089
commit a7d148a96f
72 changed files with 2100 additions and 721 deletions
+19 -19
View File
@@ -14,25 +14,25 @@ namespace Beam.Temporary.Cli {
/// </para>
/// </summary>
public partial interface IArchitecture {
/// <summary>
/// Gets the metadata associated with a <see cref="TextResource"/>
/// </summary>
/// <param name="web">The web client to use when downloading <see cref="WebResource"/>s</param>
/// <param name="pieceKey">The key of the <see cref="TextResource"/> stored in the <paramref name="sdd"/></param>
/// <param name="sdd">The <see cref="BeamDataDictionary"/> to be used to retrieve information</param>
/// <param name="logger">Optional logger for logging debug information</param>
/// <returns>A <see cref="DownloadContext{T}"/> object with the required information to perform the download</returns>
public DownloadContext<IDocumentMetaData>? GetMeta(HtmlWeb web, DataKey<TextResource> pieceKey, BeamDataDictionary sdd, CancellationToken ct = default, ILogger? logger = null);
/// <summary>
/// Gets the <see cref="DownloadContext{T}"/> of the text record associated with <see cref="TextResource"/>
/// </summary>
/// <param name="web">The web client to use when downloading <see cref="WebResource"/>s</param>
/// <param name="pieceKey">The key of the <see cref="TextResource"/> stored in the <paramref name="sdd"/></param>
/// <param name="sdd">The <see cref="BeamDataDictionary"/> to be used to retrieve information</param>
/// <param name="metadata">Optional book metadata to include with the final text record</param>
/// <param name="logger">Optional logger for logging debug information</param>
/// <returns>A <see cref="DownloadContext{T}"/> object with the required information to perform the download</returns>
public DownloadContext<IDocument>? GetTextRecord(HtmlWeb web, DataKey<TextResource> pieceKey, BeamDataDictionary sdd, IDocumentMetaData? metadata = null, CancellationToken ct = default, ILogger? logger = null);
///// <summary>
///// Gets the metadata associated with a <see cref="ResourceDictionary"/>
///// </summary>
///// <param name="web">The web client to use when downloading <see cref="WebResource"/>s</param>
///// <param name="pieceKey">The key of the <see cref="ResourceDictionary"/> stored in the <paramref name="sdd"/></param>
///// <param name="sdd">The <see cref="BeamDataDictionary"/> to be used to retrieve information</param>
///// <param name="logger">Optional logger for logging debug information</param>
///// <returns>A <see cref="DownloadContext{T}"/> object with the required information to perform the download</returns>
//public DownloadContext<IDocumentMetaData>? GetMeta(HtmlWeb web, DataKey<ResourceDictionary> pieceKey, BeamDataDictionary sdd, CancellationToken ct = default, ILogger? logger = null);
///// <summary>
///// Gets the <see cref="DownloadContext{T}"/> of the text record associated with <see cref="ResourceDictionary"/>
///// </summary>
///// <param name="web">The web client to use when downloading <see cref="WebResource"/>s</param>
///// <param name="pieceKey">The key of the <see cref="ResourceDictionary"/> stored in the <paramref name="sdd"/></param>
///// <param name="sdd">The <see cref="BeamDataDictionary"/> to be used to retrieve information</param>
///// <param name="metadata">Optional book metadata to include with the final text record</param>
///// <param name="logger">Optional logger for logging debug information</param>
///// <returns>A <see cref="DownloadContext{T}"/> object with the required information to perform the download</returns>
//public DownloadContext<IDocument>? GetTextRecord(HtmlWeb web, DataKey<ResourceDictionary> pieceKey, BeamDataDictionary sdd, IDocumentMetaData? metadata = null, CancellationToken ct = default, ILogger? logger = null);
/// <summary>
/// The <see cref="DataKey{IDocumentMetaData}"/> to use when looking for the chapter metadata