Метод | Описание | |
---|---|---|
AddDirectory ( string requestedPath, |
Adds a directory-based convention for embedded static convention
|
Метод | Описание | |
---|---|---|
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
|
public static AddDirectory ( string requestedPath, |
||
requestedPath | string | The path that should be matched with the request |
assembly | The assembly that contains the embedded static content | |
contentPath | string | The path to where the content is stored in your application, relative to the root. If this is |
Результат | Func |