Struct GorgonFileSystemMountPoint
A mount point for the virtual file system.
Inherited Members
Namespace: Gorgon.IO
Assembly: Gorgon.FileSystem.dll
Syntax
public readonly struct GorgonFileSystemMountPoint : IGorgonEquatableByRef<GorgonFileSystemMountPoint>, IEquatable<GorgonFileSystemMountPoint>
Fields
| Edit this page View SourceMountLocation
The virtual location of the mount point.
Declaration
public readonly string MountLocation
Field Value
Type | Description |
---|---|
string |
PhysicalPath
The physical location of the mount point.
Declaration
public readonly string PhysicalPath
Field Value
Type | Description |
---|---|
string |
Provider
The provider for this mount point.
Declaration
public readonly IGorgonFileSystemProvider Provider
Field Value
Type | Description |
---|---|
IGorgonFileSystemProvider |
Methods
| Edit this page View SourceEquals(GorgonFileSystemMountPoint)
Function to compare this instance with another.
Declaration
public bool Equals(GorgonFileSystemMountPoint other)
Parameters
Type | Name | Description |
---|---|---|
GorgonFileSystemMountPoint | other | The other instance to use for comparison. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
Equals(in GorgonFileSystemMountPoint)
Function to determine if this instance is equal to another instance.
Declaration
public bool Equals(in GorgonFileSystemMountPoint other)
Parameters
Type | Name | Description |
---|---|---|
GorgonFileSystemMountPoint | other | The other instance to compare. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
Equals(in GorgonFileSystemMountPoint, in GorgonFileSystemMountPoint)
Function to determine if two instances are equal.
Declaration
public static bool Equals(in GorgonFileSystemMountPoint left, in GorgonFileSystemMountPoint right)
Parameters
Type | Name | Description |
---|---|---|
GorgonFileSystemMountPoint | left | Left instance to compare. |
GorgonFileSystemMountPoint | right | Right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with this instance. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to this instance; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(in GorgonFileSystemMountPoint, in GorgonFileSystemMountPoint)
Equality operator.
Declaration
public static bool operator ==(in GorgonFileSystemMountPoint left, in GorgonFileSystemMountPoint right)
Parameters
Type | Name | Description |
---|---|---|
GorgonFileSystemMountPoint | left | Left instance to compare. |
GorgonFileSystemMountPoint | right | Right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if equal, false if not. |
operator !=(in GorgonFileSystemMountPoint, in GorgonFileSystemMountPoint)
Inequality operator.
Declaration
public static bool operator !=(in GorgonFileSystemMountPoint left, in GorgonFileSystemMountPoint right)
Parameters
Type | Name | Description |
---|---|---|
GorgonFileSystemMountPoint | left | Left instance to compare. |
GorgonFileSystemMountPoint | right | Right instance to compare. |
Returns
Type | Description |
---|---|
bool | true if not equal, false if equal. |