C# 클래스 Nancy.EmbeddedContent.Conventions.StaticContentsConventionsExtensions

Extension methods to aid adding embedded static content into conventions
파일 보기 프로젝트 열기: jugglingnutcase/Nancy.EmbeddedContent

공개 메소드들

메소드 설명
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