RelativeFileInfo Class¶
Summary¶
A container type that represents @!:IFileInfo- along with the application base relative path for a file in the file system.
Constructors¶
-
RelativeFileInfo
(IFileInfo, System.String)¶ Initializes a new instance of [Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo](Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo.yml).
Arguments: - fileInfo (IFileInfo) – @!:IFileInfo- for the file.
- relativePath (System.String) – Path of the file relative to the application base.
public RelativeFileInfo(IFileInfo fileInfo, string relativePath)
-
Properties¶
-
FileInfo
()¶ Gets the @!:IFileInfo- associated with this instance of [Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo](Microsoft.AspNet.Mvc.Razor.Compilation.RelativeFileInfo.yml).
Return type: IFileInfo public IFileInfo FileInfo { get; }
-
RelativePath
()¶ Gets the path of the file relative to the application base.
Return type: System.String public string RelativePath { get; }
-