Table of Contents

Struct TagID

Namespace
Frent.Core
Assembly
Frent.dll

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

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

Properties

Type

The type that this TagID represents

public Type Type { get; }

Property Value

Type

Methods

Equals(TagID)

Checks if this TagID instance represents the same type as other

public bool Equals(TagID other)

Parameters

other TagID

The tag to compare against

Returns

bool

true when they represent the same type, false otherwise

Equals(object?)

Checks if this TagID instance represents the same type as other

public override bool Equals(object? other)

Parameters

other object

The tag to compare against

Returns

bool

true when they represent the same type, false otherwise

GetHashCode()

Gets the hashcode of this TagID

public override int GetHashCode()

Returns

int

A unique code representing the TagID

Operators

operator ==(TagID, TagID)

Checks if two TagIDs represent the same type

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

Parameters

left TagID
right TagID

Returns

bool

true when they represent the same type, false otherwise

operator !=(TagID, TagID)

Checks if two TagIDs represent a different type

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

Parameters

left TagID
right TagID

Returns

bool

false when they represent the same type, true otherwise