Method | Description | |
---|---|---|
CreateRelative ( string relativePath ) : IResource |
Creates a new resource relative to this resource.
|
|
Exists ( ) : bool |
Checks if a resource actually exists.
|
|
FileSystemResource ( |
Constructs a new T:FileSystemResource for the given file info.
|
|
FileSystemResource ( string path ) : System |
Constructs a new T:FileSystemResource for the given path.
|
|
GetDescription ( ) : string |
Computes a literal description for this resource. Implementations are encouraged to return this value for their ToString() method.
|
|
GetFileInfo ( ) : |
||
GetFilename ( ) : string |
Determines the filename for this resource.
|
|
GetFullPath ( ) : string |
Returns the full path for this resource.
|
|
GetInputStream ( ) : Stream |
Opens a new read T:System.IO.Stream for the underlying resource. Each call is expected to return a new instance.
|
|
GetLastModified ( ) : System.DateTime |
Determines when this resource was last modified.
|
|
GetUri ( ) : |
public CreateRelative ( string relativePath ) : IResource | ||
relativePath | string | a path relative to this resource |
return | IResource |
public FileSystemResource ( |
||
fileInfo | a file info | |
return | System |
public FileSystemResource ( string path ) : System | ||
path | string | the path to the file to reference |
return | System |