Method | Description | |
---|---|---|
StaticDirectoryContent ( Nancy.Conventions.NancyConventions conventions ) |
Creates a new instance of StaticDirectoryContent
|
|
this ( string requestDirectory ) : string |
Adds a new static directory to the nancy conventions
|
public StaticDirectoryContent ( Nancy.Conventions.NancyConventions conventions ) | ||
conventions | Nancy.Conventions.NancyConventions | NancyConventions, to which static directories get added |
public this ( string requestDirectory ) : string | ||
requestDirectory | string | The route of the file |
return | string |