Table of Contents

Struct LinkID

Namespace
Frent.Core
Assembly
Frent.dll

Represents a specific type as a link, and can be used for link related queries

public readonly struct LinkID : IEquatable<LinkID>
Implements
Inherited Members

Properties

Type

The type that this LinkID represents

public Type Type { get; }

Property Value

Type

Methods

Equals(LinkID)

Checks if this LinkID instance represents the same type as other

public bool Equals(LinkID other)

Parameters

other LinkID

The link to compare against

Returns

bool

true when they represent the same type, false otherwise

Equals(object?)

Checks if this LinkID instance represents the same type as other

public override bool Equals(object? other)

Parameters

other object

The link to compare against

Returns

bool

true when they represent the same type, false otherwise

GetHashCode()

Gets the hashcode of this LinkID

public override int GetHashCode()

Returns

int

A unique code representing the LinkID

Operators

operator ==(LinkID, LinkID)

Checks if two LinkIDs represent the same type

public static bool operator ==(LinkID left, LinkID right)

Parameters

left LinkID
right LinkID

Returns

bool

true when they represent the same type, false otherwise

operator !=(LinkID, LinkID)

Checks if two LinkIDs represent a different type

public static bool operator !=(LinkID left, LinkID right)

Parameters

left LinkID
right LinkID

Returns

bool

false when they represent the same type, true otherwise