FileReference
Manages a reference to an existing or non-existing file, using either or both absolute or relative paths. Once constructed, this class is immutable.
Inheritance Hierarchy
System.Object
Rhino.FileIO.FileReference
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class FileReference : IDisposable
The FileReference type exposes the following members.
Constructors
Name
Description
Public Method
FileReference
Constructs a new instance of the FileReference class, given a fullPath, a relativePath a content hash and a status value.
Properties
Name
Description
Public Property
ContentHash
Gets the content hash.
Public Property
FullPath
Gets the absolute path of this file reference.
Public Property
FullPathStatus
Gets the file reference status.
Public Property
IsSet
Returns an indication of the fact that the reference is actually set to a non-null value.
Public Property
RelativePath
Gets the relative path of this file reference.
Methods
Name
Description
Public Method
Static Member
CreateFromFullAndRelativePaths
Returns a new file reference. This returns a new instance even if the path does not exist.
Public Method
Static Member
CreateFromFullPath
Returns a new file reference. This returns a new instance even if the path does not exist.
Public Method
Dispose
Reclaims unmanaged resources used by this object.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)