C# 클래스 React.AspNet.AspNetFileSystem

Handles file system functionality, such as reading files. Maps all paths from application-relative (~/...) to full paths using ASP.NET's MapPath method.
상속: FileSystemBase
파일 보기 프로젝트 열기: reactjs/React.NET

공개 메소드들

메소드 설명
AspNetFileSystem ( IHostingEnvironment hostingEnv ) : System.IO

Initializes a new instance of the AspNetFileSystem class.

MapPath ( string relativePath ) : string

Converts a path from an application relative path (~/...) to a full filesystem path

메소드 상세

AspNetFileSystem() 공개 메소드

Initializes a new instance of the AspNetFileSystem class.
public AspNetFileSystem ( IHostingEnvironment hostingEnv ) : System.IO
hostingEnv IHostingEnvironment The ASP.NET 5 hosting environment
리턴 System.IO

MapPath() 공개 메소드

Converts a path from an application relative path (~/...) to a full filesystem path
public MapPath ( string relativePath ) : string
relativePath string App-relative path of the file
리턴 string