Embedded Module

Functions and values

Function or value Description

browse source

Full Usage: browse source

Parameters:
Returns: WebPart

'browse' the file in the sense that the contents of the file are sent based on the request's Url property. Will serve from the executing assemblies resources.

source : Assembly
Returns: WebPart

browseDefaultAsssembly

Full Usage: browseDefaultAsssembly

Returns: WebPart

'browse' the file in the sense that the contents of the file are sent based on the request's Url property. Will serve from the executing assemblies resources.

Returns: WebPart

browseDefaultAsssemblyManifest manifestFile root

Full Usage: browseDefaultAsssemblyManifest manifestFile root

Parameters:
    manifestFile : string option
    root : string option

Returns: WebPart

'browse' files that were embedded in an assembly, using the manifest generated by `Microsoft.Extensions.FileProviders.Embedded` to resolve resource names.

manifestFile : string option
root : string option
Returns: WebPart

browseManifest source manifestFile root

Full Usage: browseManifest source manifestFile root

Parameters:
    source : Assembly
    manifestFile : string option
    root : string option

Returns: WebPart

'browse' files that were embedded in an assembly, using the manifest generated by `Microsoft.Extensions.FileProviders.Embedded` to resolve resource names.

source : Assembly
manifestFile : string option
root : string option
Returns: WebPart

resource source name

Full Usage: resource source name

Parameters:
Returns: WebPart

Send the resource by the name given. Will also set the MIME type based on the file extension.

source : Assembly
name : string
Returns: WebPart

resourceFromDefaultAssembly name

Full Usage: resourceFromDefaultAssembly name

Parameters:
    name : string

Returns: WebPart

Send the resource by the name given. Will also set the MIME type based on the file extension.

name : string
Returns: WebPart

sendResource source resourceName compression

Full Usage: sendResource source resourceName compression

Parameters:
    source : Assembly
    resourceName : string
    compression : bool

Returns: WebPart

Send an embedded resource as a response to the request. Allows you to control the source assembly to read from.

source : Assembly
resourceName : string
compression : bool
Returns: WebPart

sendResourceFromDefaultAssembly resourceName compression

Full Usage: sendResourceFromDefaultAssembly resourceName compression

Parameters:
    resourceName : string
    compression : bool

Returns: WebPart

Send an embedded resource as a response to the request

resourceName : string
compression : bool
Returns: WebPart