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
Properties
Identifier
An unique identifier
[Key(0)]
public Guid Identifier { get; }
Property Value
Value
The tag value
[Key(1)]
public string Value { get; }
Property Value
Methods
Equals(Tag?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Tag? other)
Parameters
other
TagAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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.