Table of Contents

Class Tag

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

A tag is an indexed string that can be attached to an exchange

[MessagePackObject(false)]
public class Tag : IEquatable<Tag>
Inheritance
Tag
Implements
Inherited Members

Constructors

Tag(Guid, string)

public Tag(Guid identifier, string value)

Parameters

identifier Guid
value string

Properties

Identifier

An unique identifier

[Key(0)]
public Guid Identifier { get; }

Property Value

Guid

Value

The tag value

[Key(1)]
public string Value { get; }

Property Value

string

Methods

Equals(Tag?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Tag? other)

Parameters

other Tag

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.