LlmsTxtContentService Pennington.LlmsTxt
Thin IContentEmitter adapter that delegates to LlmsTxtService for file generation during static builds. Registered as transient so each resolution from the emitter enumerable picks up the current file-watched LlmsTxtService.
Constructors
.ctor
#public LlmsTxtContentService(LlmsTxtService service, LlmsTxtOptions options);Creates an emitter backed by the given LlmsTxtService.
Parameters
serviceLlmsTxtServiceoptionsLlmsTxtOptions
Methods
GetContentToCreateAsync
#public async Task<ImmutableList<ContentToCreate>> GetContentToCreateAsync();Files to write into the build output directory.
Returns
Task<ImmutableList<ContentToCreate>>Pennington.LlmsTxt.LlmsTxtContentService
namespace Pennington.LlmsTxt;
/// Thin IContentEmitter adapter that delegates to LlmsTxtService for file generation during static builds. Registered as transient so each resolution from the emitter enumerable picks up the current file-watched LlmsTxtService.
public class LlmsTxtContentService
{
/// Creates an emitter backed by the given LlmsTxtService.
public LlmsTxtContentService(LlmsTxtService service, LlmsTxtOptions options);
/// Files to write into the build output directory.
public async Task<ImmutableList<ContentToCreate>> GetContentToCreateAsync();
}