Skip to content

FileReference

Public Class

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

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

Gets the content hash.


Public Property

Gets the absolute path of this file reference.


Public Property

Gets the file reference status.


Public Property

Returns an indication of the fact that the reference is actually set to a non-null value.


Public Property

Gets the relative path of this file reference.


Methods

Name

Description


Public Method
Static Member

Returns a new file reference. This returns a new instance even if the path does not exist.


Public Method
Static Member

Returns a new file reference. This returns a new instance even if the path does not exist.


Public Method

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

(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.)