Метод | Описание | |
---|---|---|
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
|
public AspNetFileSystem ( IHostingEnvironment hostingEnv ) : System.IO | ||
hostingEnv | IHostingEnvironment | The ASP.NET 5 hosting environment |
Результат | System.IO |
public MapPath ( string relativePath ) : string | ||
relativePath | string | App-relative path of the file |
Результат | string |