Method | Description | |
---|---|---|
AddDirectory ( string requestedPath, |
Adds a directory-based convention for embedded static convention.
|
Method | Description | |
---|---|---|
BuildContentDelegate ( NancyContext context, string requestedPath, string contentPath, |
||
EmbeddedStaticContentConventionBuilder ( ) : System | ||
GetContentPath ( string requestedPath, string contentPath ) : string | ||
GetEncodedPath ( string path ) : string | ||
GetPathWithoutFilename ( string fileName, string path ) : string | ||
GetSafeRequestPath ( string requestPath, string requestedPath, string contentPath ) : string | ||
IsWithinContentFolder ( string contentRootPath, string fileName ) : bool |
Returns whether the given filename is contained within the content folder
|
|
ResolveRootPathMarker ( ) : string |
public static AddDirectory ( string requestedPath, |
||
requestedPath | string | The path that should be matched with the request. |
assembly | ||
contentPath | string | The path to where the content is stored in your application, relative to the root. If this is |
return | Func |