FileReference
ReferencesManages a reference to an existing or non-existing file, using either or both absolute or relative paths. Once constructed, this class is immutable.
Constructors
public FileReference(string fullPath, string relativePath, ContentHash hash, FileReferenceStatus status)
Constructs a new instance of the FileReference class, given a fullPath, a relativePath a content hash and a status value.
Parameters:
| fullPath (string) | |
| relativePath (string) | |
| hash (ContentHash) | |
| status (FileReferenceStatus) |
Finalizer
~FileReference
#~FileReference()
Properties
Gets the file reference status.
Returns an indication of the fact that the reference is actually set to a non-null value.
Methods
Returns a new file reference. This returns a new instance even if the path does not exist.
Returns a new file reference. This returns a new instance even if the path does not exist.
Parameters:
| fullPath (string) | A full path. |
Returns: A file reference to the specified path.