IExecutionContextGetContentProviderExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IExecutionContextGetContentProviderExtensions"] class Type type-node

Syntax

public static class IExecutionContextGetContentProviderExtensions

Methods

Name Return Value Summary
GetContentProvider(IExecutionContext, byte[], int, int, string) IContentProvider
static
GetContentProvider(IExecutionContext, byte[], int, int) IContentProvider
static
GetContentProvider(IExecutionContext, byte[], string) IContentProvider
static
GetContentProvider(IExecutionContext, byte[]) IContentProvider
static
GetContentProvider(IExecutionContext, Func<Stream>, string) IContentProvider
Creates a content provider from a delegate that returns a Stream to use on each content request. A new stream should be returned on each request since it may be read concurrently.
static
GetContentProvider(IExecutionContext, Func<Stream>) IContentProvider
Creates a content provider from a delegate that returns a Stream to use on each content request. A new stream should be returned on each request since it may be read concurrently.
static
GetContentProvider(IExecutionContext, IMarkupFormattable) IContentProvider
Gets a content provider for HTML content, sets the media type to Html, and updates the internal HTML document cache used by ParseHtmlAsync(IDocument, bool) if the markup parameter is a IHtmlDocument.
static
GetContentProvider(IExecutionContext, Stream, string) IContentProvider
creates a content provider from a Stream by reading the stream into a buffer and then providing that buffer when content is requested.
static
GetContentProvider(IExecutionContext, Stream) IContentProvider
creates a content provider from a Stream by reading the stream into a buffer and then providing that buffer when content is requested.
static
GetContentProvider(IExecutionContext, string, string) IContentProvider
static
GetContentProvider(IExecutionContext, string) IContentProvider
static