C# Класс Nancy.EmbeddedContent.Conventions.StaticContentsConventionsExtensions

Extension methods to aid adding embedded static content into conventions
Показать файл Открыть проект

Открытые методы

Метод Описание
AddEmbeddedDirectory ( this conventions, string requestedPath, Assembly assembly, string contentPath = null ) : void

Adds a directory-based convention for embedded static resources

Описание методов

AddEmbeddedDirectory() публичный статический Метод

Adds a directory-based convention for embedded static resources
public static AddEmbeddedDirectory ( this conventions, string requestedPath, Assembly assembly, string contentPath = null ) : void
conventions this Conventions in which static content will be added
requestedPath string The path that should be matched with the request
assembly System.Reflection.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 then it will be the same as .
Результат void