Gorgon
Show / Hide Table of Contents

Struct GorgonFileSystemMountPoint

A mount point for the virtual file system.

Implements
IGorgonEquatableByRef<GorgonFileSystemMountPoint>
IEquatable<GorgonFileSystemMountPoint>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: Gorgon.IO
Assembly: Gorgon.FileSystem.dll
Syntax
public readonly struct GorgonFileSystemMountPoint : IGorgonEquatableByRef<GorgonFileSystemMountPoint>, IEquatable<GorgonFileSystemMountPoint>

Fields

| Edit this page View Source

MountLocation

The virtual location of the mount point.

Declaration
public readonly string MountLocation
Field Value
Type Description
string
| Edit this page View Source

PhysicalPath

The physical location of the mount point.

Declaration
public readonly string PhysicalPath
Field Value
Type Description
string
| Edit this page View Source

Provider

The provider for this mount point.

Declaration
public readonly IGorgonFileSystemProvider Provider
Field Value
Type Description
IGorgonFileSystemProvider

Methods

| Edit this page View Source

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

| Edit this page View Source

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.

| Edit this page View Source

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.

| Edit this page View Source

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
ValueType.Equals(object)
| Edit this page View Source

GetHashCode()

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
ValueType.GetHashCode()
| Edit this page View Source

ToString()

Returns a string that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents this instance.

Overrides
ValueType.ToString()

Operators

| Edit this page View Source

operator ==(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.

| Edit this page View Source

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.

Implements

IGorgonEquatableByRef<T>
IEquatable<T>

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author