Skip to main content

SharedFolder

Register a shared folder to easily import shared .html components or files
<!--shared:Brand,Input--> or /shared:app.css/

Assembly: ServiceStack.dll
View Source
Declaration
public class SharedFolder : IHtmlModulesHandler

Properties

Name

View Source
Declaration
public string Name { get; }

SharedDir

View Source
Declaration
public string SharedDir { get; set; }

DefaultExt

View Source
Declaration
public string DefaultExt { get; }

Methods

Execute(HtmlModuleContext, String)

View Source
Declaration
public ReadOnlyMemory<byte> Execute(HtmlModuleContext ctx, string files)
Returns

ReadOnlyMemory<System.Byte>

Parameters
TypeName
ServiceStack.HtmlModuleContextctx
System.Stringfiles

Implements